summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-24 21:23:47 +0000
committerphk <phk@FreeBSD.org>2003-10-24 21:23:47 +0000
commitbc60c7cbae93d3763d1db8d4b559bb9bfc60e790 (patch)
tree0539f927634ac5ab6765210bc17324a765d70b2d /usr.bin/systat
parentc20f599a534a319873b5edfeef73a5f100a6add6 (diff)
downloadFreeBSD-src-bc60c7cbae93d3763d1db8d4b559bb9bfc60e790.zip
FreeBSD-src-bc60c7cbae93d3763d1db8d4b559bb9bfc60e790.tar.gz
Use 'k' as suffix for Kilo
Pointed out by: several.
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 6a11f46..a4a9269 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -679,7 +679,7 @@ putint(n, l, lc, w)
}
snprintf(b, sizeof(b), "%*d", w, n);
if ((int)strlen(b) > w)
- snprintf(b, sizeof(b), "%*dK", w - 1, n / 1000);
+ snprintf(b, sizeof(b), "%*dk", w - 1, n / 1000);
if ((int)strlen(b) > w)
snprintf(b, sizeof(b), "%*dM", w - 1, n / 1000000);
addstr(b);
OpenPOWER on IntegriCloud