diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-09 06:29:37 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-02-09 06:29:37 +0000 |
commit | 995c594047fcc85dabb58addd28486c5df04deaa (patch) | |
tree | df7fc0ea6e08ac592fd364885689fb037ab44ac8 /EdkCompatibilityPkg | |
parent | 638909f19bb6cbdc218a607f29b0b96516d15012 (diff) | |
download | edk2-platforms-995c594047fcc85dabb58addd28486c5df04deaa.tar.xz |
Correct BlockSize when call ConfigToBlock API.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9953 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r-- | EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c index 8f3c31f092..4701a31457 100644 --- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c +++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ConfigAccess.c @@ -551,7 +551,6 @@ ThunkRouteConfig ( VOID *Data;
UINTN DataSize;
UINTN DataSize2;
- UINTN LastModifiedByteIndex;
BOOLEAN ResetRequired;
BOOLEAN DataAllocated;
@@ -602,11 +601,12 @@ ThunkRouteConfig ( }
}
+ DataSize = DataSize2;
Status = mHiiConfigRoutingProtocol->ConfigToBlock (
mHiiConfigRoutingProtocol,
Configuration,
Data,
- &LastModifiedByteIndex,
+ &DataSize,
Progress
);
if (EFI_ERROR (Status)) {
@@ -633,7 +633,6 @@ ThunkRouteConfig ( Data,
&ResetRequired
);
-
}
}
|