[ros-diffs] [fireball] 26847: - Make 2 disk read error messages different, so it's possible to see what fails more exactly.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon May 21 10:46:19 CEST 2007


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/i386/pcdisk.c?rev=26847&r1=26846&r2=26847&view=diff
==============================================================================
--- 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;
 		}
 




More information about the Ros-diffs mailing list