]> granicus.if.org Git - procps-ng/commitdiff
tolerate libproc changes
authoralbert <>
Sun, 8 Dec 2002 21:05:54 +0000 (21:05 +0000)
committeralbert <>
Sun, 8 Dec 2002 21:05:54 +0000 (21:05 +0000)
w.c

diff --git a/w.c b/w.c
index 2634fa2955ce781a2cee33e7b0957c930a4d0f47..2806993bc9bed2e82bf45c4f8c5140736bc5a4b9 100644 (file)
--- a/w.c
+++ b/w.c
@@ -268,7 +268,7 @@ int main(int argc, char **argv) {
     if (maxcmd < 3)
        fprintf(stderr, "warning: screen width %d suboptimal.\n", win.ws_col);
 
-    procs = readproctab(PROC_FILLCOM | PROC_FILLUSR);
+    procs = readproctab(PROC_FILLCOM | PROC_FILLUSR | PROC_FILLSTAT);
 
     if (header) {                              /* print uptime and headers */
        print_uptime();