diff options
author | jmg <jmg@FreeBSD.org> | 2003-11-09 20:39:56 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2003-11-09 20:39:56 +0000 |
commit | 63482864f7be2ba7d23ba7eee45f63ef23a84e00 (patch) | |
tree | ba226b8af7be46a814ba607ef40edaf85bfa0b35 /usr.bin/vmstat | |
parent | 21340f30b3b095c29e40dbb7a9789b599a246f7e (diff) | |
download | FreeBSD-src-63482864f7be2ba7d23ba7eee45f63ef23a84e00.zip FreeBSD-src-63482864f7be2ba7d23ba7eee45f63ef23a84e00.tar.gz |
make minimum column size for interrupt name be the heading (depends upon
Total being shorter than interrupt)..
Pointed out by: bde
Diffstat (limited to 'usr.bin/vmstat')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 22444c3..2fc8504 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -745,7 +745,7 @@ dointr() kread(X_INTRNAMES, intrname, (size_t)inamlen); nintr /= sizeof(u_long); tintrname = intrname; - istrnamlen = 12; + istrnamlen = strlen("interrupt"); for (i = 0; i < nintr; i++) { clen = strlen(tintrname); if (clen > istrnamlen) |