diff options
author | jdp <jdp@FreeBSD.org> | 1997-07-25 23:25:20 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1997-07-25 23:25:20 +0000 |
commit | 7501e605dedeeb5666ac9d1cfb7c2a547cb0c9c8 (patch) | |
tree | b30f4e7b4ffdc0e6f7e489f6719972339a2d6801 /sys/scsi/scsi_base.c | |
parent | 117e72fbcb6aa849bc90284ecc5027f6c8d2e419 (diff) | |
download | FreeBSD-src-7501e605dedeeb5666ac9d1cfb7c2a547cb0c9c8.zip FreeBSD-src-7501e605dedeeb5666ac9d1cfb7c2a547cb0c9c8.tar.gz |
In SCSI diagnostic messages, cause "0x" to be prepended to the number
in the "info" field to make it clear that it is hexadecimal.
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r-- | sys/scsi/scsi_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)) { |