From: Aaron Marcher Date: Tue, 22 May 2018 10:21:52 +0000 (+0200) Subject: Change to fmt_human in netspeeds on OpenBSD X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=cbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49;p=suckless%2Fslstatus.git Change to fmt_human in netspeeds on OpenBSD Thanks to Hiltjo --- 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