From 193b784c8a4ecb44c970d8aa7ab46b11fcd6d491 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sat, 13 May 2006 18:11:04 +0000 Subject: 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. --- sys/scsi/scsi_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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: -- cgit v1.2.3