summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal')
-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;
}