- Make 2 disk read error messages different, so it's possible to see what fails more exactly.

svn path=/trunk/; revision=26847
This commit is contained in:
Aleksey Bragin 2007-05-21 08:46:18 +00:00
parent 6a11c13aa1
commit f52f59db1d

View file

@ -121,7 +121,7 @@ static BOOLEAN PcDiskReadLogicalSectorsLBA(ULONG DriveNumber, ULONGLONG SectorNu
}
// If we get here then the read failed
DiskError("Disk Read Failed", RegsOut.b.ah);
DiskError("Disk Read Failed in LBA mode", RegsOut.b.ah);
return FALSE;
}
@ -244,7 +244,7 @@ static BOOLEAN PcDiskReadLogicalSectorsCHS(ULONG DriveNumber, ULONGLONG SectorNu
// If we retried 3 times then fail
if (RetryCount >= 3)
{
DiskError("Disk Read Failed", RegsOut.b.ah);
DiskError("Disk Read Failed in CHS mode, after retrying 3 times", RegsOut.b.ah);
return FALSE;
}