diff options
-rw-r--r-- | usr.bin/systat/cmdtab.c | 2 | ||||
-rw-r--r-- | usr.bin/systat/tcp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/cmdtab.c b/usr.bin/systat/cmdtab.c index ffb0259..466a647 100644 --- a/usr.bin/systat/cmdtab.c +++ b/usr.bin/systat/cmdtab.c @@ -70,7 +70,7 @@ struct cmdtab cmdtab[] = { resetip, CF_LOADAV }, { "tcp", showtcp, fetchtcp, labeltcp, inittcp, opentcp, closetcp, cmdmode, - resettcp, CF_LOADAV }, + resettcp, 0 }, { 0 } }; struct cmdtab *curcmd = &cmdtab[0]; diff --git a/usr.bin/systat/tcp.c b/usr.bin/systat/tcp.c index 0b88e4b..8163028 100644 --- a/usr.bin/systat/tcp.c +++ b/usr.bin/systat/tcp.c @@ -94,7 +94,8 @@ static struct tcpstat curstat, initstat, oldstat; WINDOW * opentcp(void) { - return (subwin(stdscr, LINES-5-1, 0, 5, 0)); + + return (stdscr); } void @@ -105,7 +106,6 @@ closetcp(w) return; wclear(w); wrefresh(w); - delwin(w); } void |