aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsserver
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-04-21 18:11:19 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-04-21 18:11:19 +0000
commitdc4725135d3e3826c99d45c1648112accf7b862b (patch)
treec01699d851b69d7ae36f215085155bda57bc12f7 /sys/nfsserver
parent31b4f4a91682d36980e0d606c8105113db4cd356 (diff)
Notes
Diffstat (limited to 'sys/nfsserver')
-rw-r--r--sys/nfsserver/nfs_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c
index f81900bea29b..ab247ea8a621 100644
--- a/sys/nfsserver/nfs_syscalls.c
+++ b/sys/nfsserver/nfs_syscalls.c
@@ -139,7 +139,7 @@ nfssvc(struct thread *td, struct nfssvc_args *uap)
if (error)
return (error);
#endif
- error = priv_check(td, PRIV_NFSD);
+ error = priv_check(td, PRIV_NFS_DAEMON);
if (error)
return (error);
NET_LOCK_GIANT();