diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-07-01 21:28:49 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-07-01 21:28:49 +0000 |
commit | 7f576169bf2d869115464b4fd28ae8c29723dcd4 (patch) | |
tree | 47c2c57936b74ea9e0d10ede83edfd43ab761632 /sbin/camcontrol | |
parent | 018c31c01e2a233502dd2ec81c18db6e7fdc151a (diff) | |
download | FreeBSD-src-7f576169bf2d869115464b4fd28ae8c29723dcd4.zip FreeBSD-src-7f576169bf2d869115464b4fd28ae8c29723dcd4.tar.gz |
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>
Diffstat (limited to 'sbin/camcontrol')
-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 18200d6..fcacca4 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)) |