From c16e0916a7d82d8001289943294ef727ffe0a3e8 Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 8 Aug 2007 09:43:07 +0000 Subject: [PATCH] cleaner table --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc.c b/proc.c index 3a19d92..96f96d9 100644 --- a/proc.c +++ b/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 = "???";