IS: fix up PM flags field somewhat
This commit is contained in:
parent
1d0e43c8f1
commit
b21beea985
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ PRIVATE char *flags_str(int flags)
|
|||
str[5] = (flags & STOPPED) ? 'S' : '-';
|
||||
str[6] = (flags & SIGSUSPENDED) ? 'U' : '-';
|
||||
str[7] = (flags & REPLY) ? 'R' : '-';
|
||||
str[11] = (flags & PRIV_PROC) ? 'P' : '-';
|
||||
str[8] = (flags & PRIV_PROC) ? 'p' : '-';
|
||||
str[9] = (flags & PM_SIG_PENDING) ? 's' : '-';
|
||||
str[10] = (flags & PARTIAL_EXEC) ? 'x' : '-';
|
||||
str[11] = (flags & EXITING) ? 'E' : '-';
|
||||
str[12] = '\0';
|
||||
|
||||
return str;
|
||||
|
|
Loading…
Reference in a new issue