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>
This commit is contained in:
Nick Hibma 2000-07-01 21:28:49 +00:00
parent 5e4a74ec02
commit f1f05bbb10
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62361

View File

@ -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))