summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2001-02-24 19:24:36 +0000
committergibbs <gibbs@FreeBSD.org>2001-02-24 19:24:36 +0000
commit8ada239f48aa392d6e63f11b5dd95cbe7fd2988f (patch)
tree99df3f0681338bb5b12c160eacce976cbddc1073 /sys/cam
parentff114fe8aa8e366c10da907c394ea59a46ce0c1f (diff)
downloadFreeBSD-src-8ada239f48aa392d6e63f11b5dd95cbe7fd2988f.zip
FreeBSD-src-8ada239f48aa392d6e63f11b5dd95cbe7fd2988f.tar.gz
In the SCSI_NO_SENSE_STRINGS case, properly fill the table with the
asc and ascq pair rather than asc, asc. PR: 25291 Submitted by: Stephen Ferrari <sferrari@yahoo.com>
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
index a80c058..cd74165 100644
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -707,7 +707,7 @@ scsi_op_desc(u_int16_t opcode, struct scsi_inquiry_data *inq_data)
asc, ascq, action, desc
#else
#define SST(asc, ascq, action, desc) \
- asc, asc, action
+ asc, ascq, action
#endif
static const char quantum[] = "QUANTUM";
OpenPOWER on IntegriCloud