diff options
-rw-r--r-- | sys/cam/scsi/scsi_all.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c index 67f6654..8f3a3de 100644 --- a/sys/cam/scsi/scsi_all.c +++ b/sys/cam/scsi/scsi_all.c @@ -2103,9 +2103,7 @@ scsi_sense_sbuf(struct cam_device *device, struct ccb_scsiio *csio, } default: - sbuf_printf(sb, "error code %d", - sense->error_code & SSD_ERRCODE); - + sbuf_printf(sb, "Sense Error Code 0x%x", sense->error_code); if (sense->error_code & SSD_ERRCODE_VALID) { sbuf_printf(sb, " at block no. %d (decimal)", info = scsi_4btoul(sense->info)); |