sbm

simple bandwidth monitor
git clone git://git.2f30.org/sbm.git
Log | Files | Refs | LICENSE

commit 10167540de9c4ccf1dd22f63259274a6f06a3554
parent 9fe830f56ae68592750057d43e549e15d6fb80b6
Author: sin <sin@2f30.org>
Date:   Fri Jul 29 12:01:10 +0100

Fix unit abbreviations

Diffstat:
sbm.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbm.c b/sbm.c @@ -142,8 +142,8 @@ sample(char *ifname, uint64_t *rxbytes, uint64_t *txbytes, double scale(char **suffix, uint64_t bits) { - static char *suffixes[][3] = { { "bps", "Kbps", "Mbps" }, - { "Bps", "KBps", "MBps" } }; + static char *suffixes[][3] = { { "bps", "kbps", "Mbps" }, + { "Bps", "kBps", "MBps" } }; double rounded = bits; if (Bflag)