cleaner table
This commit is contained in:
parent
19b1f63813
commit
c16e0916a7
1 changed files with 1 additions and 1 deletions
2
proc.c
2
proc.c
|
@ -437,7 +437,7 @@ procdump(void)
|
|||
p = &proc[i];
|
||||
if(p->state == UNUSED)
|
||||
continue;
|
||||
if(p->state >= 0 && p->state < NELEM(states))
|
||||
if(p->state >= 0 && p->state < NELEM(states) && states[p->state])
|
||||
state = states[p->state];
|
||||
else
|
||||
state = "???";
|
||||
|
|
Loading…
Reference in a new issue