diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-05-22 12:21:52 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-22 12:21:52 +0200 |
commit | cbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49 (patch) | |
tree | ebaee1a0d2aaddf1280423a32c5045948310e3f4 /components/netspeeds.c | |
parent | 7f91ce265ea456b3096ccba7fdbb890bcf00e225 (diff) |
Change to fmt_human in netspeeds on OpenBSD
Thanks to Hiltjo
Diffstat (limited to 'components/netspeeds.c')
-rw-r--r-- | components/netspeeds.c | 2 |
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 |