From: David van Moolenbroek Date: Sun, 12 Jul 2009 15:30:59 +0000 (+0000) Subject: IS: fix up PM flags field somewhat X-Git-Tag: v3.1.5~214 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=b21beea985949bdf9acfe568235f1e3d7ffbd265;p=minix.git IS: fix up PM flags field somewhat --- diff --git a/servers/is/dmp_pm.c b/servers/is/dmp_pm.c index 739d1162a..a3e57c824 100644 --- a/servers/is/dmp_pm.c +++ b/servers/is/dmp_pm.c @@ -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;