]> granicus.if.org Git - procps-ng/commitdiff
should compile
authoralbert <>
Sat, 12 Oct 2002 05:36:52 +0000 (05:36 +0000)
committeralbert <>
Sat, 12 Oct 2002 05:36:52 +0000 (05:36 +0000)
ChangeLog
top.c

index 2464fe32575e75b54bc302e27db5c5037cc77f9f..9c49eb48e44aade9f76f8140b258f9b801ec5d52 100644 (file)
--- 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 722f6ba60da55d4b85a02f67ca13f1d087556bfe..17c52813c7cab7e0a83bb0599db9d6e20ef6e2ac 100644 (file)
--- 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))) {