From cbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49 Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Tue, 22 May 2018 12:21:52 +0200 Subject: Change to fmt_human in netspeeds on OpenBSD Thanks to Hiltjo --- components/netspeeds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3