summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 2f32fd7d352..5e516070140 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.225 2012/05/30 20:04:52 matthew Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.226 2012/06/02 05:44:27 guenther Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -1288,7 +1288,7 @@ sysctl_file2(int *name, u_int namelen, char *where, size_t *sizep,
* skip system, exiting, embryonic and undead
* processes, as well as threads
*/
- if ((pp->p_flag & (P_SYSTEM | P_WEXIT | P_THREAD))
+ if ((pp->p_flag & P_SYSTEM) || (pp->p_flag & P_THREAD)
|| (pp->p_p->ps_flags & PS_EXITING)
|| pp->p_stat == SIDL || pp->p_stat == SZOMB)
continue;
@@ -1320,7 +1320,7 @@ sysctl_file2(int *name, u_int namelen, char *where, size_t *sizep,
* skip system, exiting, embryonic and undead
* processes, as well as threads
*/
- if ((pp->p_flag & (P_SYSTEM | P_WEXIT | P_THREAD))
+ if ((pp->p_flag & P_SYSTEM) || (pp->p_flag & P_THREAD)
|| (pp->p_p->ps_flags & PS_EXITING)
|| pp->p_stat == SIDL || pp->p_stat == SZOMB)
continue;