Fix process state handling compiler warning on PCP platform

This commit is contained in:
Nathan Scott 2021-11-03 15:46:20 +11:00
parent d8dfbbd37c
commit e64269df2c
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ static inline char Metric_instance_char(int metric, int pid, int offset, char fa
return fallback; return fallback;
} }
static inline PCPProcessList_getProcessState(char state) { static inline ProcessState PCPProcessList_getProcessState(char state) {
switch (state) { switch (state) {
case '?': return UNKNOWN; case '?': return UNKNOWN;
case 'R': return RUNNING; case 'R': return RUNNING;