summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2020-09-15 15:23:12 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2020-09-15 15:23:12 +0000
commitd2da2db87b9895884875bb38cb41f064750b5f8e (patch)
tree7becaa3d265ad3dcf1c3d145d40c8c9a88d535b3 /sbin/ifconfig/ifconfig.c
parentf9d53aa50c5877741e7adb63a0761af632810623 (diff)
umb(4) shows the speed of the LTE connection but misses the b in Mbps.
OK kettenis@
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r--sbin/ifconfig/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c
index 3286c5e12b6..cf3b8a0cae3 100644
--- a/sbin/ifconfig/ifconfig.c
+++ b/sbin/ifconfig/ifconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifconfig.c,v 1.425 2020/08/05 06:12:43 kn Exp $ */
+/* $OpenBSD: ifconfig.c,v 1.426 2020/09/15 15:23:11 claudio Exp $ */
/* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */
/*
@@ -6060,7 +6060,7 @@ umb_status(void)
snprintf(s[0], sizeof (s[0]), "%llu", mi.uplink_speed);
if (fmt_scaled(mi.downlink_speed, s[1]) != 0)
snprintf(s[1], sizeof (s[1]), "%llu", mi.downlink_speed);
- printf(" speed %sps up %sps down", s[0], s[1]);
+ printf(" speed %sbps up %sbps down", s[0], s[1]);
}
printf("\n");