From 836efa3eb4441d8c99f008448e58bc17058a4bf6 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 25 Sep 2002 13:50:39 +0000 Subject: [PATCH] PR/18408: Chris Demetriou: Kilo is abbreviated using a small k not a CAPITAL K. --- usr.bin/systat/iostat.c | 10 +++++----- usr.bin/systat/vmstat.c | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c index ee6e5125b029..a79b665953a6 100644 --- a/usr.bin/systat/iostat.c +++ b/usr.bin/systat/iostat.c @@ -1,4 +1,4 @@ -/* $NetBSD: iostat.c,v 1.21 2002/06/30 00:10:33 sommerfeld Exp $ */ +/* $NetBSD: iostat.c,v 1.22 2002/09/25 13:50:39 christos Exp $ */ /* * Copyright (c) 1980, 1992, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: iostat.c,v 1.21 2002/06/30 00:10:33 sommerfeld Exp $"); +__RCSID("$NetBSD: iostat.c,v 1.22 2002/09/25 13:50:39 christos Exp $"); #endif /* not lint */ #include @@ -153,7 +153,7 @@ numlabels(int row) break; } mvwaddstr(wnd, row, col + 4, cur.dk_name[i]); - mvwaddstr(wnd, row + 1, col, "KBps tps sec"); + mvwaddstr(wnd, row + 1, col, "kBps tps sec"); col += COLWIDTH; } if (col) @@ -173,7 +173,7 @@ barlabels(int row) if (cur.dk_select[i] /*&& cur.dk_bytes[i] != 0.0*/) { if (row > getmaxy(wnd) - linesperregion) break; - mvwprintw(wnd, row++, 0, "%7.7s KBps|", cur.dk_name[i]); + mvwprintw(wnd, row++, 0, "%7.7s kBps|", cur.dk_name[i]); mvwaddstr(wnd, row++, 0, " tps|"); if (secs) mvwaddstr(wnd, row++, 0, " msec|"); @@ -238,7 +238,7 @@ stats(int row, int col, int dn) atime = (double)cur.dk_time[dn].tv_sec + ((double)cur.dk_time[dn].tv_usec / (double)1000000); - words = cur.dk_bytes[dn] / 1024.0; /* # of K transferred */ + words = cur.dk_bytes[dn] / 1024.0; /* # of k transferred */ if (numbers) { mvwprintw(wnd, row, col, " %3.0f%4.0f%5.1f", words / etime, cur.dk_xfer[dn] / etime, atime / etime); diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index d156fa4689eb..968a3eede981 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: vmstat.c,v 1.41 2002/08/08 17:06:32 abs Exp $ */ +/* $NetBSD: vmstat.c,v 1.42 2002/09/25 13:50:40 christos Exp $ */ /*- * Copyright (c) 1983, 1989, 1992, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94"; #endif -__RCSID("$NetBSD: vmstat.c,v 1.41 2002/08/08 17:06:32 abs Exp $"); +__RCSID("$NetBSD: vmstat.c,v 1.42 2002/09/25 13:50:40 christos Exp $"); #endif /* not lint */ /* @@ -241,7 +241,7 @@ labelvmstat(void) clear(); mvprintw(STATROW, STATCOL + 4, "users Load"); - mvprintw(MEMROW, MEMCOL, " memory totals (in KB)"); + mvprintw(MEMROW, MEMCOL, " memory totals (in kB)"); mvprintw(MEMROW + 1, MEMCOL, " real virtual free"); mvprintw(MEMROW + 2, MEMCOL, "Active"); mvprintw(MEMROW + 3, MEMCOL, "All"); @@ -630,7 +630,7 @@ dinfo(int dn, int c) atime = (double)cur.dk_time[dn].tv_sec + ((double)cur.dk_time[dn].tv_usec / (double)1000000); - words = cur.dk_bytes[dn] / 1024.0; /* # of K transferred */ + words = cur.dk_bytes[dn] / 1024.0; /* # of k transferred */ putint((int)((float)cur.dk_seek[dn]/etime+0.5), DISKROW + 1, c, 5); putint((int)((float)cur.dk_xfer[dn]/etime+0.5), DISKROW + 2, c, 5);