]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/Disk/Partition/Dxe/Gpt.c
I fixed following bugs.
[mirror_edk2.git] / EdkModulePkg / Universal / Disk / Partition / Dxe / Gpt.c
index 9077ac63c2e067a99bf83996bb9bfe46d10d92ec..6404c753ae58b967620e2f93bbd92d47d446cebc 100644 (file)
@@ -154,7 +154,7 @@ Returns:
   // Verify that the Protective MBR is valid\r
   //\r
   if (ProtectiveMbr->Partition[0].BootIndicator != 0x00 ||\r
-      ProtectiveMbr->Partition[0].OSIndicator != 0xEE ||\r
+      ProtectiveMbr->Partition[0].OSIndicator != PMBR_GPT_PARTITION ||\r
       UNPACK_UINT32 (ProtectiveMbr->Partition[0].StartingLBA) != 1\r
       ) {\r
     goto Done;\r