From 7501e605dedeeb5666ac9d1cfb7c2a547cb0c9c8 Mon Sep 17 00:00:00 2001 From: jdp Date: Fri, 25 Jul 1997 23:25:20 +0000 Subject: In SCSI diagnostic messages, cause "0x" to be prepended to the number in the "info" field to make it clear that it is hexadecimal. --- sys/scsi/scsi_base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/scsi') diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c index 2564567..d4b4f77 100644 --- a/sys/scsi/scsi_base.c +++ b/sys/scsi/scsi_base.c @@ -8,7 +8,7 @@ * file. * * Written by Julian Elischer (julian@dialix.oz.au) - * $Id: scsi_base.c,v 1.47 1997/03/24 01:46:15 gibbs Exp $ + * $Id: scsi_base.c,v 1.48 1997/04/04 19:37:20 gibbs Exp $ */ #include "opt_bounce.h" @@ -867,13 +867,13 @@ void scsi_sense_print(xs) printf(" ILI (length mismatch): %ld", info); } else { - printf(" info:%lx", info); + printf(" info:%#lx", info); } } } } else if (info) - printf(" info?:%lx", info); + printf(" info?:%#lx", info); if (ext->extra_len >= 4) { if (bcmp(ext->cmd_spec_info, "\0\0\0\0", 4)) { -- cgit v1.1