diff options
author | peter <peter@FreeBSD.org> | 1999-08-30 08:18:09 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-08-30 08:18:09 +0000 |
commit | ce5c0946e0a212c993ee42f6c191e939621e713b (patch) | |
tree | 2d5c8200b417a3171cfad34c9d059676f9c634f5 /usr.bin/systat/mbufs.c | |
parent | 496e2f9771b8db040f7666965e8d165410fc1084 (diff) | |
download | FreeBSD-src-ce5c0946e0a212c993ee42f6c191e939621e713b.zip FreeBSD-src-ce5c0946e0a212c993ee42f6c191e939621e713b.tar.gz |
systat is way too comfortable with curses internals...
Diffstat (limited to 'usr.bin/systat/mbufs.c')
-rw-r--r-- | usr.bin/systat/mbufs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c index f542da9..5e42861 100644 --- a/usr.bin/systat/mbufs.c +++ b/usr.bin/systat/mbufs.c @@ -103,9 +103,9 @@ showmbufs() if (mb == 0) return; - for (j = 0; j < wnd->maxy; j++) { + for (j = 0; j < wnd->_maxy; j++) { max = 0, index = -1; - for (i = 0; i < wnd->maxy; i++) { + for (i = 0; i < wnd->_maxy; i++) { if (i == MT_FREE) continue; if (mb->m_mtypes[i] > max) { |