From: Alan Cox Date: Sun, 2 Dec 2018 23:46:00 +0000 (+0000) Subject: fdc765: fix reporting X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5371b2159a2ddfdefc24981b70c71ecc7155c6e3;p=FUZIX.git fdc765: fix reporting --- diff --git a/Kernel/dev/devfdc765.c b/Kernel/dev/devfdc765.c index 65f71b29..70264f08 100644 --- a/Kernel/dev/devfdc765.c +++ b/Kernel/dev/devfdc765.c @@ -155,7 +155,8 @@ static int devfd_transfer(bool is_read, uint8_t is_raw) } if (tries == 3) { - kprintf("fd%d: I/O error %d:%d\n", is_read, lba); + /* FIXME: will be the drive num once we fix that */ + kprintf("fd%d: I/O error %d:%d - %d\n", 0, is_read, lba, fd765_status[0]); udata.u_error = EIO; break; }