diff options
author | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-01 21:28:49 +0000 |
---|---|---|
committer | Nick Hibma <n_hibma@FreeBSD.org> | 2000-07-01 21:28:49 +0000 |
commit | f1f05bbb1010a984f4852c7433bfc9bc0184e329 (patch) | |
tree | b4b7422edcde0e05a43c7ab1fe0d47ff40a7766e /sbin | |
parent | 5e4a74ec02cbdc3e79bdb992b26c97efa19c8d31 (diff) | |
download | src-f1f05bbb1010a984f4852c7433bfc9bc0184e329.tar.gz src-f1f05bbb1010a984f4852c7433bfc9bc0184e329.zip |
Print the correct speed when speed is less than 1MB/s.
Fixed in cam_xpt.c, r1.81
Submitted by: Gerd Knops <gerti@bitart.com>
Notes
Notes:
svn path=/head/; revision=62361
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/camcontrol/camcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 18200d643d53..fcacca4729df 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -911,7 +911,7 @@ scsixferrate(struct cam_device *device) mb, speed % 1000); else fprintf(stdout, "%dKB/s transfers ", - (speed % 1000) * 1000); + speed); if (((ccb->cts.valid & CCB_TRANS_SYNC_OFFSET_VALID) != 0) && (ccb->cts.sync_offset != 0)) |