mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 04:36:40 +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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue