Bug 25291

Summary: Think I found a typo in scsiall.c
Product: Base System Reporter: sferrari <sferrari>
Component: miscAssignee: Justin T. Gibbs <gibbs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description sferrari 2001-02-22 23:50:01 UTC
I don't follow FreeBSD, but looking at scsi_all.c I think I noticed a typo:  The last "asc" in the below should probably be "ascq":


#if !defined(SCSI_NO_SENSE_STRINGS)
#define SST(asc, ascq, action, desc) \
	asc, ascq, action, desc
#else 
#define SST(asc, ascq, action, desc) \
	asc, asc, action
#endif

Fix: 

Insert a "q" before the comma.  :-)
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2001-02-24 07:50:19 UTC
Responsible Changed
From-To: freebsd-bugs->gibbs

gibbs imported this code
Comment 2 Justin T. Gibbs freebsd_committer freebsd_triage 2001-02-24 19:25:42 UTC
State Changed
From-To: open->closed

Corrected in revs 1.14.2.5 and 1.20 of scsi_all.c