slstatus

status monitor
git clone git://git.suckless.org/slstatus
Log | Files | Refs | README | LICENSE

commit cbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49
parent 7f91ce265ea456b3096ccba7fdbb890bcf00e225
Author: Aaron Marcher <me@drkhsh.at>
Date:   Tue, 22 May 2018 12:21:52 +0200

Change to fmt_human in netspeeds on OpenBSD

Thanks to Hiltjo

Diffstat:
Mcomponents/netspeeds.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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