tolerate libproc changes

This commit is contained in:
albert 2002-12-08 21:05:54 +00:00
parent 63d160622d
commit 6e83c7ed6e

2
w.c
View File

@ -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();