summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-08-20 11:46:39 +0000
committerphk <phk@FreeBSD.org>2000-08-20 11:46:39 +0000
commit30c0d10f82e36dbd30c4b2e52011352799dd6f9a (patch)
treec63e1887782afd665ca3cfe5d3140be022ae1c70 /sys/kern/vfs_subr.c
parent34d64f6e8026433b29a39087321c59d2518b50df (diff)
downloadFreeBSD-src-30c0d10f82e36dbd30c4b2e52011352799dd6f9a.zip
FreeBSD-src-30c0d10f82e36dbd30c4b2e52011352799dd6f9a.tar.gz
Fix typo in last commit.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index d9c4260..02c84a8 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2998,7 +2998,7 @@ vaccess(type, file_mode, uid, gid, acc_mode, cred)
/*
* At this point, uid == 0 can do anything.
- * XXX: should use suser() ? */
+ * XXX: should use suser() ?
* XXX: Should only check root-ness after other checks fail.
*/
if (cred->cr_uid == 0)
@@ -3037,4 +3037,3 @@ vaccess(type, file_mode, uid, gid, acc_mode, cred)
mask |= S_IWOTH;
return ((file_mode & mask) == mask ? 0 : EACCES);
}
-
OpenPOWER on IntegriCloud