diff options
author | 2004-05-22 18:06:12 +0000 | |
---|---|---|
committer | 2004-05-22 18:06:12 +0000 | |
commit | 4a6cb57407a39e20af61070a4f536b1afe6540cc (patch) | |
tree | 678bd572172db32a8924dc8592ae5b653ba606fb | |
parent | Don't install /usr/man/man1/gdb.1 and /usr/man/man1/gdbtui.1. (diff) | |
download | wireguard-openbsd-4a6cb57407a39e20af61070a4f536b1afe6540cc.tar.xz wireguard-openbsd-4a6cb57407a39e20af61070a4f536b1afe6540cc.zip |
with modern disks data transfers rates above 10000 kByte/s are seen
regularily, make the disk columns a little wider so it doesn't run into
the neighboring column, theo ok
-rw-r--r-- | usr.bin/systat/vmstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index d70b1f1c2ce..29acfba60a7 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmstat.c,v 1.46 2004/04/23 04:15:27 tedu Exp $ */ +/* $OpenBSD: vmstat.c,v 1.47 2004/05/22 18:06:12 henning Exp $ */ /* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94"; #endif -static char rcsid[] = "$OpenBSD: vmstat.c,v 1.46 2004/04/23 04:15:27 tedu Exp $"; +static char rcsid[] = "$OpenBSD: vmstat.c,v 1.47 2004/05/22 18:06:12 henning Exp $"; #endif /* not lint */ /* @@ -333,7 +333,7 @@ labelkre(void) mvprintw(DISKROW + 4, DISKCOL, " sec"); for (i = 0, j = 0; i < cur.dk_ndrive && j < DRIVESPACE; i++) if (cur.dk_select[i] && (j + strlen(dr_name[i])) < DRIVESPACE) { - l = MAX(4, strlen(dr_name[i])); + l = MAX(5, strlen(dr_name[i])); mvprintw(DISKROW, DISKCOL + 5 + j, " %*s", l, dr_name[i]); j += 1 + l; @@ -506,7 +506,7 @@ showkre(void) mvprintw(DISKROW, DISKCOL + 5, " "); for (i = 0, c = 0; i < cur.dk_ndrive && c < DRIVESPACE; i++) if (cur.dk_select[i] && (c + strlen(dr_name[i])) < DRIVESPACE) { - l = MAX(4, strlen(dr_name[i])); + l = MAX(5, strlen(dr_name[i])); mvprintw(DISKROW, DISKCOL + 5 + c, " %*s", l, dr_name[i]); c += 1 + l; |