summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Disk/PartitionDxe
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-07 07:47:21 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-07 07:47:21 +0000
commitc63cd426a8ed53070d32260a94d5d99bf0ec2c83 (patch)
tree5b4bde430fb1b7e4a801a7980631404ef5926e0d /MdeModulePkg/Universal/Disk/PartitionDxe
parentb67be02118593db45ff6b31ac1b37376fea15b67 (diff)
downloadedk2-c63cd426a8ed53070d32260a94d5d99bf0ec2c83.zip
edk2-c63cd426a8ed53070d32260a94d5d99bf0ec2c83.tar.gz
edk2-c63cd426a8ed53070d32260a94d5d99bf0ec2c83.tar.bz2
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
Diffstat (limited to 'MdeModulePkg/Universal/Disk/PartitionDxe')
-rw-r--r--MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Mbr.c
index d71698c..f89f3e1 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;
}