diff options
| -rw-r--r-- | proc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -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 = "???";  | 
