summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_ctl.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-09-29 15:03:48 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-09-29 15:03:48 +0000
commit2c42a1460203c03abbbcefec9fc4d720423a36f9 (patch)
tree381e6b5ab51db8d6e49358c49b2d286128beae2c /sys/miscfs/procfs/procfs_ctl.c
parentda3605dbea3a43379cf48fee6da798d01478c27f (diff)
Notes
Diffstat (limited to 'sys/miscfs/procfs/procfs_ctl.c')
-rw-r--r--sys/miscfs/procfs/procfs_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/procfs/procfs_ctl.c b/sys/miscfs/procfs/procfs_ctl.c
index 4f4d84bf02af..9a74aa32101a 100644
--- a/sys/miscfs/procfs/procfs_ctl.c
+++ b/sys/miscfs/procfs/procfs_ctl.c
@@ -192,7 +192,7 @@ procfs_control(curp, p, op)
p->p_flag &= ~P_TRACED;
/* remove pending SIGTRAP, else the process will die */
- p->p_siglist &= ~sigmask (SIGTRAP);
+ SIGDELSET(p->p_siglist, SIGTRAP);
/* give process back to original parent */
if (p->p_oppid != p->p_pptr->p_pid) {