mirror of
https://github.com/reactos/reactos.git
synced 2024-10-28 00:58:20 +00:00
- 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:
parent
6a11c13aa1
commit
f52f59db1d
|
@ -121,7 +121,7 @@ static BOOLEAN PcDiskReadLogicalSectorsLBA(ULONG DriveNumber, ULONGLONG SectorNu
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we get here then the read failed
|
// 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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -244,7 +244,7 @@ static BOOLEAN PcDiskReadLogicalSectorsCHS(ULONG DriveNumber, ULONGLONG SectorNu
|
||||||
// If we retried 3 times then fail
|
// If we retried 3 times then fail
|
||||||
if (RetryCount >= 3)
|
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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue