Author: fireball
Date: Mon May 21 12:46:18 2007
New Revision: 26847
URL: http://svn.reactos.org/svn/reactos?rev=26847&view=rev
Log:
- Make 2 disk read error messages different, so it's possible to see what fails more exactly.
Modified:
trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c (original)
+++ trunk/reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c Mon May 21 12:46:18 2007
@@ -121,7 +121,7 @@
}
// 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 @@
// 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;
}