Xinqi Bao's Git

Change to fmt_human in netspeeds on OpenBSD
[slstatus.git] / components / netspeeds.c
index 4332024..3c5dabf 100644 (file)
                        return NULL;
                }
 
-               return fmt_human_2((txbytes - oldtxbytes) * 1000 / interval,
+               return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
                                   1024);
        }
 #endif