diff options
author | davidxu <davidxu@FreeBSD.org> | 2002-09-05 07:30:18 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2002-09-05 07:30:18 +0000 |
commit | b1d94c37f75017a140121c9735033fcb62e8d0d3 (patch) | |
tree | 137cfbb681f0fc0991a608cc3e54a93dc25c64dc /sys/kern/sys_process.c | |
parent | 725b1916bdb3e6e0e9a4c6a986ad2e2e5a3502af (diff) | |
download | FreeBSD-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.c | 2 |
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); |