summaryrefslogtreecommitdiffstats
path: root/sys/nfsserver/nfs_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfsserver/nfs_syscalls.c')
-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 39f6e61..5e9075b 100644
--- a/sys/nfsserver/nfs_syscalls.c
+++ b/sys/nfsserver/nfs_syscalls.c
@@ -129,7 +129,7 @@ nfssvc(struct thread *td, struct nfssvc_args *uap)
int error;
mtx_lock(&Giant);
- error = suser_td(td);
+ error = suser(td);
if (error)
goto done2;
while (nfssvc_sockhead_flag & SLP_INIT) {
OpenPOWER on IntegriCloud