- Make 2 disk read error messages different, so it's possible to see what fails more...
authorAleksey Bragin <aleksey@reactos.org>
Mon, 21 May 2007 08:46:18 +0000 (08:46 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Mon, 21 May 2007 08:46:18 +0000 (08:46 +0000)
svn path=/trunk/; revision=26847

reactos/boot/freeldr/freeldr/arch/i386/pcdisk.c

index 9fbd3ec..568b897 100644 (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;
                }