From d9ff991a71560cc782de5632d3f3b001852bb93d Mon Sep 17 00:00:00 2001 From: albert <> Date: Sat, 12 Oct 2002 05:36:52 +0000 Subject: [PATCH] should compile --- ChangeLog | 10 ++++++++++ top.c | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2464fe32..9c49eb48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +procps-3.0.1 --> procps-3.0.2 + +top defaults to the old layout +top defaults to sorting by %CPU +fix top for non-SMP 2.2.xx and 2.0.xx +new "make install" fixed +vmstat -a fixed +vmstat compiles with latest gcc-3.x +vmstat does 64-bit time + procps-3.0.0 --> procps-3.0.1 sysctl handles net/ipv4/conf/eth1.0123/tag (VLAN interface) diff --git a/top.c b/top.c index 722f6ba6..17c52813 100644 --- a/top.c +++ b/top.c @@ -1589,10 +1589,10 @@ static void wins_reflag (int what, int flg) * SIGWINCH and SIGCONT */ static void wins_resize (int dont_care_sig) { - (void)dont_care_sig; struct winsize wz; WIN_t *w; + (void)dont_care_sig; Screen_cols = columns; Screen_rows = lines; if (-1 != (ioctl(STDOUT_FILENO, TIOCGWINSZ, &wz))) {