diff options
author | rsc <rsc> | 2007-08-08 09:43:07 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-08 09:43:07 +0000 |
commit | c16e0916a7d82d8001289943294ef727ffe0a3e8 (patch) | |
tree | 203ae6c36588f4f72087ac33b6482c6d8f7d7376 /proc.c | |
parent | 19b1f63813072a57c5b2d620049a4cb7f55b8af6 (diff) | |
download | xv6-labs-c16e0916a7d82d8001289943294ef727ffe0a3e8.tar.gz xv6-labs-c16e0916a7d82d8001289943294ef727ffe0a3e8.tar.bz2 xv6-labs-c16e0916a7d82d8001289943294ef727ffe0a3e8.zip |
cleaner table
Diffstat (limited to 'proc.c')
-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 = "???"; |