Change to fmt_human in netspeeds on OpenBSD
authorAaron Marcher <me@drkhsh.at>
Tue, 22 May 2018 10:21:52 +0000 (12:21 +0200)
committerAaron Marcher <me@drkhsh.at>
Tue, 22 May 2018 10:21:52 +0000 (12:21 +0200)
Thanks to Hiltjo

components/netspeeds.c

index 4332024bd22f4737a8c68bdfb7d9379b24fb8458..3c5dabf75c6b7a1aea3c8d4b9ce8899177e3cef2 100644 (file)
                        return NULL;
                }
 
-               return fmt_human_2((txbytes - oldtxbytes) * 1000 / interval,
+               return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
                                   1024);
        }
 #endif