summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-03-15 21:55:48 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-03-15 21:55:48 +0000
commitc79db8767162cd0aed9fbb47c04b0460fdb7d3cb (patch)
treec02b2bd0c0cd8ef24ce600cb5459fa7c01a053ee /sys/cam/cam_xpt.c
parent8a8c3a195af46fa7f5e11b369396c50917395148 (diff)
downloadFreeBSD-src-c79db8767162cd0aed9fbb47c04b0460fdb7d3cb.zip
FreeBSD-src-c79db8767162cd0aed9fbb47c04b0460fdb7d3cb.tar.gz
Various typo's.
One minor nit. The speed was displayed wrong when below 1Mb/s.
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index b4da62e..0da1159 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -1465,7 +1465,7 @@ xpt_announce_periph(struct cam_periph *periph, char *announce_string)
mb, speed % 1000);
else
printf("%s%d: %dKB/s transfers", periph->periph_name,
- periph->unit_number, (speed % 1000) * 1000);
+ periph->unit_number, speed);
if ((cts.valid & CCB_TRANS_SYNC_OFFSET_VALID) != 0
&& cts.sync_offset != 0) {
printf(" (%d.%03dMHz, offset %d", freq / 1000,
OpenPOWER on IntegriCloud