Roll back an incorrect change that causes EmuGetVariable always return EFI_NOT_FOUND.

Signed-off-by: niruiyu
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12667 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
niruiyu 2011-11-08 03:00:56 +00:00
parent 22f9423e53
commit 8cb3ed513e
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ GetEndPointer (
//
// The end of variable store
//
return (VARIABLE_HEADER *) HEADER_ALIGN (VolHeader + 1);
return (VARIABLE_HEADER *) HEADER_ALIGN (VolHeader + VolHeader->Size);
}
/**