mirror of https://github.com/acidanthera/audk.git
Fix bug in GPT check that was introduced when a CompareMem() call was changed to a '==' operator. It should be a '!=' operator.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3557 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2118457ba5
commit
cd2d846866
|
@ -366,7 +366,7 @@ PartitionValidGptTable (
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if ((PartHdr->Header.Signature == EFI_PTAB_HEADER_ID) ||
|
||||
if ((PartHdr->Header.Signature != EFI_PTAB_HEADER_ID) ||
|
||||
!PartitionCheckCrc (BlockSize, &PartHdr->Header) ||
|
||||
PartHdr->MyLBA != Lba
|
||||
) {
|
||||
|
|
Loading…
Reference in New Issue