diff options
author | David Xu <davidxu@FreeBSD.org> | 2002-09-05 07:30:18 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2002-09-05 07:30:18 +0000 |
commit | 1279572a92e0f2d004dcca18343e11558ebcd9af (patch) | |
tree | 137cfbb681f0fc0991a608cc3e54a93dc25c64dc /sys/kern/kern_sig.c | |
parent | b656366b4688b5eac4f68e9b064edd3fbe58a0f2 (diff) | |
download | src-1279572a92e0f2d004dcca18343e11558ebcd9af.tar.gz src-1279572a92e0f2d004dcca18343e11558ebcd9af.zip |
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)
Notes
Notes:
svn path=/head/; revision=102950
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index c3cc40ff6880..5dbb7571769d 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1363,7 +1363,7 @@ psignal(p, sig) * an event, it goes back to run state. * Otherwise, process goes back to sleep state. */ - p->p_flag &= ~P_STOPPED_SGNL; + p->p_flag &= ~P_STOPPED_SIG; p->p_flag |= P_CONTINUED; if (action == SIG_DFL) { SIGDELSET(p->p_siglist, sig); @@ -1395,7 +1395,7 @@ psignal(p, sig) * (If we did the shell could get confused). * Just make sure the signal STOP bit set. */ - p->p_flag |= P_STOPPED_SGNL; + p->p_flag |= P_STOPPED_SIG; SIGDELSET(p->p_siglist, sig); goto out; } @@ -1770,7 +1770,7 @@ stop(p) { PROC_LOCK_ASSERT(p, MA_OWNED); - p->p_flag |= P_STOPPED_SGNL; + p->p_flag |= P_STOPPED_SIG; p->p_flag &= ~P_WAITED; wakeup(p->p_pptr); } |