summaryrefslogtreecommitdiff
path: root/components/netspeeds.c
diff options
context:
space:
mode:
authorAaron Marcher <me@drkhsh.at>2018-05-22 12:21:52 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-22 12:21:52 +0200
commitcbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49 (patch)
treeebaee1a0d2aaddf1280423a32c5045948310e3f4 /components/netspeeds.c
parent7f91ce265ea456b3096ccba7fdbb890bcf00e225 (diff)
Change to fmt_human in netspeeds on OpenBSD
Thanks to Hiltjo
Diffstat (limited to 'components/netspeeds.c')
-rw-r--r--components/netspeeds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/netspeeds.c b/components/netspeeds.c
index 4332024..3c5dabf 100644
--- a/components/netspeeds.c
+++ b/components/netspeeds.c
@@ -133,7 +133,7 @@
return NULL;
}
- return fmt_human_2((txbytes - oldtxbytes) * 1000 / interval,
+ return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
1024);
}
#endif