summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/tcp.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-05-31 07:14:52 +0000
committerru <ru@FreeBSD.org>2001-05-31 07:14:52 +0000
commit5ecf3be2254682dc79b9ea010ce7884f63fa2e74 (patch)
tree1393fdb80a6ef90f2799cbfe43598a676dd1f177 /usr.bin/systat/tcp.c
parent262e245e85544eff9c9c279763d40b2c331c5329 (diff)
downloadFreeBSD-src-5ecf3be2254682dc79b9ea010ce7884f63fa2e74.zip
FreeBSD-src-5ecf3be2254682dc79b9ea010ce7884f63fa2e74.tar.gz
Display -tcp w/o load average so that all statistics fits on a 80x25 screen.
Diffstat (limited to 'usr.bin/systat/tcp.c')
-rw-r--r--usr.bin/systat/tcp.c4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud