summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.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/kern_exec.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/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 1ee302a..8423f62 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -162,7 +162,7 @@ execve(td, uap)
KASSERT((p->p_flag & P_INEXEC) == 0,
("%s(): process already has P_INEXEC flag", __func__));
if (p->p_flag & P_KSES) {
- if (thread_single(SNGLE_EXIT)) {
+ if (thread_single(SINGLE_EXIT)) {
PROC_UNLOCK(p);
return (ERESTART); /* Try again later. */
}
OpenPOWER on IntegriCloud