Change to fmt_human in netspeeds on OpenBSD - slstatus - suckless status monitor. mirror from suckless.org
 (HTM) git clone git://git.drkhsh.at/slstatus.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit cbbf59fd3dde3f7cfbdc9807da5f5f42b664cf49
 (DIR) parent 7f91ce265ea456b3096ccba7fdbb890bcf00e225
 (HTM) 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:
         M components/netspeeds.c              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) 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