diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-01-03 05:40:00 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2004-01-03 05:40:00 +0000 |
commit | d713f89c4cb336c27b61a8c50184617ac5ad084c (patch) | |
tree | 99fc07b6829231584414b75ec78b889aa5fc74d2 /sys/scsi | |
parent | e0901a337ebdeed8a96ff9fe163bbfc5fea2dcbc (diff) |
Make 'unknown error category' message more informative by including error
number. Same change as was made to scsi_base.c a few days ago.
ok deraadt@.
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/scsi_ioctl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c index 5934ce99fe6..87b67c5706b 100644 --- a/sys/scsi/scsi_ioctl.c +++ b/sys/scsi/scsi_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_ioctl.c,v 1.16 2002/06/09 00:03:54 art Exp $ */ +/* $OpenBSD: scsi_ioctl.c,v 1.17 2004/01/03 05:39:59 krw Exp $ */ /* $NetBSD: scsi_ioctl.c,v 1.23 1996/10/12 23:23:17 christos Exp $ */ /* @@ -173,7 +173,8 @@ scsi_user_done(xs) break; default: sc_print_addr(sc_link); - printf("unknown error category from host adapter code\n"); + printf("unknown error category (0x%x) from host adapter code\n", + xs->error); screq->retsts = SCCMD_UNKNOWN; break; } |