process: fix bogus state names on other OS.

This commit is contained in:
Alastair Poole 2019-01-17 11:13:09 +00:00
parent b881658c06
commit 8a9dfad663
1 changed files with 8 additions and 8 deletions

View File

@ -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