BOOL DiskReadBootRecord(U32 DriveNumber, U64 LogicalSectorNumber, PMASTER_BOOT_RECORD BootRecord)
{
+ char ErrMsg[64];
#ifdef DEBUG
U32 Index;
#endif
// Check the partition table magic value
if (BootRecord->MasterBootRecordMagic != 0xaa55)
{
+ sprintf(ErrMsg, "Invalid partition table magic 0x%x found on drive 0x%x",
+ BootRecord->MasterBootRecordMagic, DriveNumber);
DiskError("Invalid partition table magic (0xaa55)", 0);
return FALSE;
}