diff options
Diffstat (limited to 'bin/ps/print.c')
-rw-r--r-- | bin/ps/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ps/print.c b/bin/ps/print.c index fb4faeb2f4e..d42614e9fae 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print.c,v 1.62 2015/07/19 19:26:00 deraadt Exp $ */ +/* $OpenBSD: print.c,v 1.63 2015/10/09 01:37:06 deraadt Exp $ */ /* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */ /*- @@ -269,8 +269,8 @@ state(const struct kinfo_proc *kp, VARENT *ve) *cp++ = 's'; if ((kp->p_psflags & PS_CONTROLT) && kp->p__pgid == kp->p_tpgid) *cp++ = '+'; - if (kp->p_psflags & PS_TAMED) - *cp++ = 't'; + if (kp->p_psflags & PS_PLEDGE) + *cp++ = 'p'; *cp = '\0'; if (state == 'R' && kp->p_cpuid != KI_NOCPU) { |