diff options
-rw-r--r-- | usr.bin/systat/mbufs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c index ac4f73a..28b5cc6 100644 --- a/usr.bin/systat/mbufs.c +++ b/usr.bin/systat/mbufs.c @@ -120,11 +120,10 @@ showmbufs() while (max--) waddch(wnd, 'X'); waddstr(wnd, buf); - } else { + } else while (max--) waddch(wnd, 'X'); - wclrtoeol(wnd); - } + wclrtoeol(wnd); mb->m_mtypes[index] = 0; } wmove(wnd, 1+j, 0); wclrtobot(wnd); |