After creating the nice error message, actually pass it on to the error

reporting routine. Thanks Casper.

svn path=/trunk/; revision=11770
This commit is contained in:
Gé van Geldorp 2004-11-21 21:33:04 +00:00
parent 587b831bb2
commit ac33643ce2

View file

@ -239,7 +239,7 @@ BOOL DiskReadBootRecord(U32 DriveNumber, U64 LogicalSectorNumber, PMASTER_BOOT_R
{
sprintf(ErrMsg, "Invalid partition table magic 0x%x found on drive 0x%x",
BootRecord->MasterBootRecordMagic, DriveNumber);
DiskError("Invalid partition table magic (0xaa55)", 0);
DiskError(ErrMsg, 0);
return FALSE;
}