From 65b02a0f4b5c61df74c7f11219824df7c02805b7 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 27 Nov 2006 20:19:05 +0000 Subject: [PATCH] Consistently mark percentage scales as such. PR: bin/101975 MFC after: 3 days --- usr.bin/systat/iostat.c | 4 ++-- usr.bin/systat/pigs.c | 2 +- usr.bin/systat/swap.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c index 59c247d4e58a..1ac8d5b667ad 100644 --- a/usr.bin/systat/iostat.c +++ b/usr.bin/systat/iostat.c @@ -182,7 +182,7 @@ labeliostat() row = 0; wmove(wnd, row, 0); wclrtobot(wnd); mvwaddstr(wnd, row++, INSET, - "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); + "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); mvwaddstr(wnd, row++, 0, "cpu user|"); mvwaddstr(wnd, row++, 0, " nice|"); mvwaddstr(wnd, row++, 0, " system|"); @@ -244,7 +244,7 @@ barlabels(row) char tmpstr[10]; mvwaddstr(wnd, row++, INSET, - "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); + "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); linesperregion = 2 + kbpt; for (i = 0; i < num_devices; i++) if (dev_select[i].selected) { diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c index b0d6d5251848..16d8ae9c6bf6 100644 --- a/usr.bin/systat/pigs.c +++ b/usr.bin/systat/pigs.c @@ -236,7 +236,7 @@ labelpigs() wmove(wnd, 0, 0); wclrtoeol(wnd); mvwaddstr(wnd, 0, 20, - "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); + "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); } int diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c index 7729afd22931..5436b1c5871c 100644 --- a/usr.bin/systat/swap.c +++ b/usr.bin/systat/swap.c @@ -128,7 +128,7 @@ labelswap() header = getbsize(&hlen, &blocksize); mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s", "Disk", hlen, header, "Used", - "/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100"); + "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); for (i = 0; i < kvnsw; ++i) { mvwprintw(wnd, i + 1, 0, "%-5s", kvmsw[i].ksw_devname);