summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-27 02:04:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-27 02:04:51 +0000
commit78c08934fb342be0b73ec1b877bb2d72804a3586 (patch)
tree0730499fadad2de752a0a11ef0e9c4d90057564b /sys/kern
parentf531891db5addcaa93e9307284336ed02e9b2244 (diff)
KNF
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/sys_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 2921ef101f9..e0a36f1925f 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys_process.c,v 1.22 2002/04/10 17:31:59 fgsch Exp $ */
+/* $OpenBSD: sys_process.c,v 1.23 2002/06/27 02:04:50 deraadt Exp $ */
/* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */
/*-
@@ -144,7 +144,7 @@ sys_ptrace(p, v, retval)
* traced. This is good security.]
*/
if ((t->p_cred->p_ruid != p->p_cred->p_ruid ||
- ISSET(t->p_flag, P_SUGID)) &&
+ ISSET(t->p_flag, P_SUGID)) &&
(error = suser(p->p_ucred, &p->p_acflag)) != 0)
return (error);