tolerate libproc changes
This commit is contained in:
parent
63d160622d
commit
6e83c7ed6e
2
w.c
2
w.c
@ -268,7 +268,7 @@ int main(int argc, char **argv) {
|
|||||||
if (maxcmd < 3)
|
if (maxcmd < 3)
|
||||||
fprintf(stderr, "warning: screen width %d suboptimal.\n", win.ws_col);
|
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 */
|
if (header) { /* print uptime and headers */
|
||||||
print_uptime();
|
print_uptime();
|
||||||
|
Loading…
Reference in New Issue
Block a user