Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/systat PR/18408: Chris Demetriou: Kilo is abbreviate...



details:   https://anonhg.NetBSD.org/src/rev/550a6cbc9583
branches:  trunk
changeset: 537002:550a6cbc9583
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 25 13:50:39 2002 +0000

description:
PR/18408: Chris Demetriou: Kilo is abbreviated using a small k not a CAPITAL K.

diffstat:

 usr.bin/systat/iostat.c |  10 +++++-----
 usr.bin/systat/vmstat.c |   8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 28113c0887f7 -r 550a6cbc9583 usr.bin/systat/iostat.c
--- a/usr.bin/systat/iostat.c   Wed Sep 25 12:49:40 2002 +0000
+++ b/usr.bin/systat/iostat.c   Wed Sep 25 13:50:39 2002 +0000
@@ -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 <sys/param.h>
@@ -153,7 +153,7 @@
                                        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 @@
                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 @@
        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 -r 28113c0887f7 -r 550a6cbc9583 usr.bin/systat/vmstat.c
--- a/usr.bin/systat/vmstat.c   Wed Sep 25 12:49:40 2002 +0000
+++ b/usr.bin/systat/vmstat.c   Wed Sep 25 13:50:39 2002 +0000
@@ -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 @@
 
        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 @@
        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);



Home | Main Index | Thread Index | Old Index