diff options
author | Matt Jacob <mjacob@FreeBSD.org> | 2006-12-03 07:11:55 +0000 |
---|---|---|
committer | Matt Jacob <mjacob@FreeBSD.org> | 2006-12-03 07:11:55 +0000 |
commit | 3623222e67ab0675e90dff9e4e292b84c087f2b5 (patch) | |
tree | 9a6115e7b7c2d6000aa068c8aefd5d8663e85729 /sbin/camcontrol | |
parent | b73057227b6431c4ea51f4a48416ce4512a1a1fc (diff) | |
download | src-3623222e67ab0675e90dff9e4e292b84c087f2b5.tar.gz src-3623222e67ab0675e90dff9e4e292b84c087f2b5.zip |
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.
Notes
Notes:
svn path=/head/; revision=164842
Diffstat (limited to 'sbin/camcontrol')
-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 32a287d35b1e..644c615b7c89 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"); + } } } |