X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FUniversal%2FDisk%2FPartition%2FDxe%2FGpt.c;h=6404c753ae58b967620e2f93bbd92d47d446cebc;hp=9077ac63c2e067a99bf83996bb9bfe46d10d92ec;hb=3114b33496b816233063ad193d194e9ac0531ad0;hpb=fc773f6aa7dccfb271e452d8b2e94d18be86dc94 diff --git a/EdkModulePkg/Universal/Disk/Partition/Dxe/Gpt.c b/EdkModulePkg/Universal/Disk/Partition/Dxe/Gpt.c index 9077ac63c2..6404c753ae 100644 --- a/EdkModulePkg/Universal/Disk/Partition/Dxe/Gpt.c +++ b/EdkModulePkg/Universal/Disk/Partition/Dxe/Gpt.c @@ -154,7 +154,7 @@ Returns: // Verify that the Protective MBR is valid // if (ProtectiveMbr->Partition[0].BootIndicator != 0x00 || - ProtectiveMbr->Partition[0].OSIndicator != 0xEE || + ProtectiveMbr->Partition[0].OSIndicator != PMBR_GPT_PARTITION || UNPACK_UINT32 (ProtectiveMbr->Partition[0].StartingLBA) != 1 ) { goto Done;