forked from xt-sys/exectos
Correct format specifier for partition size to prevent stack corruption
This commit is contained in:
parent
8898a427df
commit
d8e0e07805
@ -191,7 +191,7 @@ BlEnumerateBlockDevices()
|
|||||||
|
|
||||||
/* Print debug message */
|
/* Print debug message */
|
||||||
BlDebugPrint(L"Found Hard Disk partition (DiskNumber: %lu, PartNumber: %lu, "
|
BlDebugPrint(L"Found Hard Disk partition (DiskNumber: %lu, PartNumber: %lu, "
|
||||||
L"MBRType: %u, GUID: {%V}, PartSize: %uB) %S\n",
|
L"MBRType: %u, GUID: {%V}, PartSize: %lluB) %S\n",
|
||||||
DriveNumber, PartitionNumber, HDPath->MBRType,
|
DriveNumber, PartitionNumber, HDPath->MBRType,
|
||||||
PartitionGuid, HDPath->PartitionSize * Media->BlockSize,
|
PartitionGuid, HDPath->PartitionSize * Media->BlockSize,
|
||||||
(DriveType & XTBL_BOOT_DEVICE_ESP) ? L"(ESP)" : L"");
|
(DriveType & XTBL_BOOT_DEVICE_ESP) ? L"(ESP)" : L"");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user