diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-03 07:11:55 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-03 07:11:55 +0000 |
commit | 85813d2279db1d4af85cf4b79f44102a8799b863 (patch) | |
tree | 9a6115e7b7c2d6000aa068c8aefd5d8663e85729 | |
parent | 852d9800f0a5838bfce44a897f8d68b336d54342 (diff) | |
download | FreeBSD-src-85813d2279db1d4af85cf4b79f44102a8799b863.zip FreeBSD-src-85813d2279db1d4af85cf4b79f44102a8799b863.tar.gz |
It's confusing to say that "Command Queueing Supported" just based
upon the scsi flag validity field. Instead, just say "Command Queueing Enabled"
when it is- otherwise remain mute.
-rw-r--r-- | sbin/camcontrol/camcontrol.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 32a287d..644c615 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -955,10 +955,9 @@ scsixferrate(struct cam_device *device) struct ccb_trans_settings_scsi *scsi = &ccb->cts.proto_specific.scsi; if (scsi->valid & CTS_SCSI_VALID_TQ) { - if (scsi->flags & CTS_SCSI_FLAGS_TAG_ENB) + if (scsi->flags & CTS_SCSI_FLAGS_TAG_ENB) { fprintf(stdout, ", Command Queueing Enabled"); - else - fprintf(stdout, ", Command Queueing Supported"); + } } } |