summaryrefslogtreecommitdiff
path: root/flowtop.c
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop.c')
-rw-r--r--flowtop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flowtop.c b/flowtop.c
index 88ac2fd..cfe76d5 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -793,7 +793,7 @@ static char *bandw2str(double bytes, char *buf, size_t len)
else if (bytes > 1000000.)
snprintf(buf, len, "%.1fMB", bytes / 1000000.);
else if (bytes > 1000.)
- snprintf(buf, len, "%.1fKB", bytes / 1000.);
+ snprintf(buf, len, "%.1fkB", bytes / 1000.);
else
snprintf(buf, len, "%g bytes", bytes);
@@ -807,7 +807,7 @@ static char *rate2str(double rate, char *buf, size_t len)
else if (rate > 1000000.)
snprintf(buf, len, "%.1fMB/s", rate / 1000000.);
else if (rate > 1000.)
- snprintf(buf, len, "%.1fKB/s", rate / 1000.);
+ snprintf(buf, len, "%.1fkB/s", rate / 1000.);
else
snprintf(buf, len, "%gB/s", rate);