summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-08-28 05:16:19 +0000
committerrwatson <rwatson@FreeBSD.org>2001-08-28 05:16:19 +0000
commit0306411838d552f5771dda6c2c2cfefd43ef7b04 (patch)
tree82d0cc54f71912190e8f536d9605d06a0a53dc70 /sys/kern/kern_prot.c
parent50a0e7cd4a735f18eac60d88637f14d759bcbc50 (diff)
downloadFreeBSD-src-0306411838d552f5771dda6c2c2cfefd43ef7b04.zip
FreeBSD-src-0306411838d552f5771dda6c2c2cfefd43ef7b04.tar.gz
Fix typos in recent comments.
Submitted by: dd
Diffstat (limited to 'sys/kern/kern_prot.c')
-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 61c82f9..b923287 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1100,10 +1100,10 @@ u_cansee(struct ucred *u1, struct ucred *u2)
}
/*
- * p_cansee(p1, p2): determine of p1 "can see" the subject specified by p2
+ * p_cansee(p1, p2): determine if p1 "can see" the subject specified by p2
* Arguments: processes p1 and p2
* Returns: 0 for permitted, an errno value otherwise
- * Locks: Sufficient locks to protection p1->p_ucred and p2->p_cured must
+ * Locks: Sufficient locks to protect p1->p_ucred and p2->p_cured must
* be held. Normally, p1 will be curproc, and a lock must be held
* for p2.
* References: p1 and p2 must be valid for the lifetime of the call
OpenPOWER on IntegriCloud