diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-13 18:11:04 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-05-13 18:11:04 +0000 |
commit | 193b784c8a4ecb44c970d8aa7ab46b11fcd6d491 (patch) | |
tree | fec77eecaa56cdd6dfaa2dbc3375a9856a82798c | |
parent | 434854ab7618ebead2b645af66407e0ce9e06d58 (diff) |
When SCSIDEBUG'ing, display the return value of scsi_interpret_sense()
in hex. This makes it consistant with the display of the same value in
other messages.
-rw-r--r-- | sys/scsi/scsi_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index ef727d11fde..02bf832cdb3 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_base.c,v 1.102 2006/05/11 00:45:59 krw Exp $ */ +/* $OpenBSD: scsi_base.c,v 1.103 2006/05/13 18:11:03 krw Exp $ */ /* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */ /* @@ -890,7 +890,7 @@ sc_err1(xs) if ((error = scsi_interpret_sense(xs)) == ERESTART) goto retry; SC_DEBUG(xs->sc_link, SDEV_DB3, - ("scsi_interpret_sense returned %d\n", error)); + ("scsi_interpret_sense returned %#x\n", error)); break; case XS_BUSY: |