From: vanjeff Date: Fri, 7 Mar 2008 07:47:21 +0000 (+0000) Subject: Merger tracker: Dell - Cannot detect FAT16 partition if the 1st entry in the partitio... X-Git-Tag: edk2-stable201903~21390 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=c63cd426a8ed53070d32260a94d5d99bf0ec2c83;p=mirror_edk2.git Merger tracker: Dell - Cannot detect FAT16 partition if the 1st entry in the partition table is git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4807 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c index d71698c826..f89f3e190e 100644 --- a/MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c +++ b/MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c @@ -267,7 +267,7 @@ Returns: goto Done; } - if (Mbr->Partition[0].OSIndicator == 0) { + if (UNPACK_UINT32 (Mbr->Partition[0].SizeInLBA) == 0) { break; }