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