From 5bac261e76013bf3bcadddade1ec391cec2496a5 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 8 Oct 1996 22:31:31 +0000 Subject: [PATCH] Print the dos device number for read failures. --- sys/i386/boot/biosboot/disk.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/i386/boot/biosboot/disk.c b/sys/i386/boot/biosboot/disk.c index 551409f8ed88..2f5b25c50133 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(); } }