Print out the asc/ascq and description even when both the asc and ascq
are zero. This is so that users will see the "no addtional sense" printout and know that they have the full sense information.
This commit is contained in:
parent
415285a250
commit
de66871c15
@ -2009,10 +2009,8 @@ scsi_sense_sbuf(struct cam_device *device, struct ccb_scsiio *csio,
|
||||
}
|
||||
}
|
||||
|
||||
if (asc || ascq) {
|
||||
sbuf_printf(sb, " asc:%x,%x\n%s%s", asc, ascq,
|
||||
path_str, asc_desc);
|
||||
}
|
||||
sbuf_printf(sb, " asc:%x,%x\n%s%s", asc, ascq,
|
||||
path_str, asc_desc);
|
||||
|
||||
if (sense->extra_len >= 7 && sense->fru) {
|
||||
sbuf_printf(sb, " field replaceable unit: %x",
|
||||
|
Loading…
Reference in New Issue
Block a user