summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-01-03 14:26:47 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-01-03 14:26:47 +0000
commitb9effc89011561b43e4c7b2d8871e00028cbd881 (patch)
treea093617bb4f5a9d5a86da4da50ff0a9f8d4dbd76 /sys
parente461bad7e0d9ba550d40e04ef5c853a5fce5df34 (diff)
downloadsrc-test2-b9effc89011561b43e4c7b2d8871e00028cbd881.tar.gz
src-test2-b9effc89011561b43e4c7b2d8871e00028cbd881.zip
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_prot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 1611cc3bb6bb..306b36ccd84f 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -929,9 +929,9 @@ setlogin(p, uap)
void
setsugid(p)
- struct proc *p;
+ struct proc *p;
{
p->p_flag |= P_SUGID;
- if (!(p->p_pfsflags & PF_ISUGID))
+ if (p->p_pfsflags & PF_ISUGID)
p->p_stops = 0;
}