summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_process.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2002-09-05 07:30:18 +0000
committerdavidxu <davidxu@FreeBSD.org>2002-09-05 07:30:18 +0000
commitb1d94c37f75017a140121c9735033fcb62e8d0d3 (patch)
tree137cfbb681f0fc0991a608cc3e54a93dc25c64dc /sys/kern/sys_process.c
parent725b1916bdb3e6e0e9a4c6a986ad2e2e5a3502af (diff)
downloadFreeBSD-src-b1d94c37f75017a140121c9735033fcb62e8d0d3.zip
FreeBSD-src-b1d94c37f75017a140121c9735033fcb62e8d0d3.tar.gz
s/SGNL/SIG/
s/SNGL/SINGLE/ s/SNGLE/SINGLE/ Fix abbreviation for P_STOPPED_* etc flags, in original code they were inconsistent and difficult to distinguish between them. Approved by: julian (mentor)
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r--sys/kern/sys_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 69c0d6f..1067314 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -600,7 +600,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
if (P_SHOULDSTOP(p)) {
p->p_xstat = data;
mtx_lock_spin(&sched_lock);
- p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SGNL);
+ p->p_flag &= ~(P_STOPPED_TRACE|P_STOPPED_SIG);
setrunnable(td2); /* XXXKSE */
/* Need foreach kse in proc, ... make_kse_queued(). */
mtx_unlock_spin(&sched_lock);
OpenPOWER on IntegriCloud