summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2002-04-01 05:41:33 +0000
committerken <ken@FreeBSD.org>2002-04-01 05:41:33 +0000
commit5d1a9608c28434bb28e5163e26f712421d0392ef (patch)
tree5ec1ab631502f34d02be444c93893821f3f35158 /sys/cam/scsi
parentead60301646a22ed9af4f24a5946e69e2e92a46c (diff)
downloadFreeBSD-src-5d1a9608c28434bb28e5163e26f712421d0392ef.zip
FreeBSD-src-5d1a9608c28434bb28e5163e26f712421d0392ef.tar.gz
Fix 3 of the four problems with my last indentation fix. ("fixing" the
fourth would be a divergence from the prevailing style.) Thanks to bde for catching this. Pointed out by: bde
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_all.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index 284cc82..3eaf6b6 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -2040,10 +2040,8 @@ scsi_sense_sbuf(struct cam_device *device, struct ccb_scsiio *csio,
snprintf(tmpstr2, sizeof(tmpstr2),
"bit %d",
sense->sense_key_spec[0] & 0x7);
- sbuf_printf(sb,
- ": %s byte %d %s is invalid",
- bad_command ?
- "Command" : "Data",
+ sbuf_printf(sb, ": %s byte %d %s is invalid",
+ bad_command ? "Command" : "Data",
scsi_2btoul(
&sense->sense_key_spec[1]),
tmpstr2);
OpenPOWER on IntegriCloud