From b1d94c37f75017a140121c9735033fcb62e8d0d3 Mon Sep 17 00:00:00 2001 From: davidxu Date: Thu, 5 Sep 2002 07:30:18 +0000 Subject: 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) --- sys/kern/kern_sig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern/kern_sig.c') diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index c3cc40f..5dbb757 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); } -- cgit v1.1