aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/procfs
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2015-06-01 18:49:31 +0000
committerXin LI <delphij@FreeBSD.org>2015-06-01 18:49:31 +0000
commit6e55e724a60535a8345704eb7d793256756c195c (patch)
treed5a2b572b03596a1a72f8140d10f7c7023493020 /sys/fs/procfs
parent4c372ca254b32269c88b4eadfead1cc3e8fd0877 (diff)
Notes
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r--sys/fs/procfs/procfs_ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c
index 1437644d5fa3..15679e36da32 100644
--- a/sys/fs/procfs/procfs_ctl.c
+++ b/sys/fs/procfs/procfs_ctl.c
@@ -235,6 +235,7 @@ out:
} else
PROC_LOCK(p);
p->p_oppid = 0;
+ p->p_stops = 0;
p->p_flag &= ~P_WAITED; /* XXX ? */
sx_xunlock(&proctree_lock);