Xinqi Bao's Git

ram: fixed int overflow on pagetok macro
[slstatus.git] / components / netspeeds.c
index 4332024..7ab1590 100644 (file)
                        return NULL;
                }
 
-               return fmt_human_2((txbytes - oldtxbytes) * 1000 / interval,
-                                  1024);
+               return fmt_human((txbytes - oldtxbytes) * 1000 / interval,
+                                1024);
        }
 #endif