aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2019-01-17 11:13:09 +0000
committerAlastair Poole <netstar@gmail.com>2019-01-17 11:13:09 +0000
commit8a9dfad6631fe330a7f5959b3553d68320333f06 (patch)
tree85c2ec464e519e40469c22fe38dc7e54471cdc2a
parentmakefile: build on install target (diff)
downloadevisum-8a9dfad6631fe330a7f5959b3553d68320333f06.tar.gz
process: fix bogus state names on other OS.
-rw-r--r--src/process.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/process.c b/src/process.c
index ce55f3a..42796c7 100644
--- a/src/process.c
+++ b/src/process.c
@@ -78,40 +78,40 @@ _process_state_name(char state)
statename = "idle";
break;
- case Srun:
+ case SRUN:
statename = "run";
break;
- case Ssleep:
+ case SSLEEP:
statename = "sleep";
break;
- case Sstop:
+ case SSTOP:
statename = "stop";
break;
#if !defined(__MacOS__)
#if !defined(__OpenBSD__)
- case Swait:
+ case SWAIT:
statename = "wait";
break;
- case Slock:
+ case SLOCK:
statename = "lock";
break;
#endif
- case Szomb:
+ case SZOMB:
statename = "zomb";
break;
#endif
#if defined(__OpenBSD__)
- case Sdead:
+ case SDEAD:
statename = "dead";
break;
- case Sonproc:
+ case SONPROC:
statename = "onproc";
break;
#endif