summaryrefslogtreecommitdiffstats
path: root/sys/i386/boot/biosboot/disk.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-10-08 22:31:31 +0000
committerbde <bde@FreeBSD.org>1996-10-08 22:31:31 +0000
commitde8a481c6ff60e9530f7626980f1d2df37e5ade3 (patch)
treee69f6eebd91eeb6fde907745ce1ed933ebe9d4a7 /sys/i386/boot/biosboot/disk.c
parent32032fd3dfd54672b93bc90711ba1024e19808c3 (diff)
downloadFreeBSD-src-de8a481c6ff60e9530f7626980f1d2df37e5ade3.zip
FreeBSD-src-de8a481c6ff60e9530f7626980f1d2df37e5ade3.tar.gz
Print the dos device number for read failures.
Diffstat (limited to 'sys/i386/boot/biosboot/disk.c')
-rw-r--r--sys/i386/boot/biosboot/disk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/i386/boot/biosboot/disk.c b/sys/i386/boot/biosboot/disk.c
index 551409f..2f5b25c 100644
--- a/sys/i386/boot/biosboot/disk.c
+++ b/sys/i386/boot/biosboot/disk.c
@@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, Revision 2.2 92/04/04 11:35:49 rpd
- * $Id: disk.c,v 1.20 1996/09/14 07:40:57 bde Exp $
+ * $Id: disk.c,v 1.21 1996/10/08 22:25:22 bde Exp $
*/
/*
@@ -230,7 +230,8 @@ Bread(int dosdev, int sector)
nsec = 1;
twiddle();
while (biosread(dosdev, cyl, head, sec, nsec, ra_buf) != 0) {
- printf("Error: C:%d H:%d S:%d\n", cyl, head, sec);
+ printf("Error: D:0x%x C:%d H:%d S:%d\n",
+ dosdev, cyl, head, sec);
twiddle();
}
}
OpenPOWER on IntegriCloud