summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_ctl.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-08-29 04:24:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-08-29 04:24:39 +0000
commitbc97d70b104321c37625720fd106238186cb9029 (patch)
tree61c99cc510fa6ad32ab8f4a77e6ff06a7f9a0417 /sys/miscfs/procfs/procfs_ctl.c
parent023685defa1afec18bef0ad9c73dfd5aea854b72 (diff)
From NetBSD (thorpej):
Fix a reversed argument which caused procfs_checkioperm() to always return OK". Add a few comments to avoid further confusion.
Diffstat (limited to 'sys/miscfs/procfs/procfs_ctl.c')
-rw-r--r--sys/miscfs/procfs/procfs_ctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_ctl.c b/sys/miscfs/procfs/procfs_ctl.c
index 559ccd1e17d..5b2d9ab50d0 100644
--- a/sys/miscfs/procfs/procfs_ctl.c
+++ b/sys/miscfs/procfs/procfs_ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: procfs_ctl.c,v 1.6 1997/08/16 02:00:48 millert Exp $ */
+/* $OpenBSD: procfs_ctl.c,v 1.7 1997/08/29 04:24:37 millert Exp $ */
/* $NetBSD: procfs_ctl.c,v 1.14 1996/02/09 22:40:48 christos Exp $ */
/*
@@ -109,8 +109,8 @@ static int procfs_control __P((struct proc *, struct proc *, int));
static int
procfs_control(curp, p, op)
- struct proc *curp;
- struct proc *p;
+ struct proc *curp; /* tracer */
+ struct proc *p; /* traced */
int op;
{
int error;