summaryrefslogtreecommitdiffstats
path: root/sys/netncp/ncp_subr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netncp/ncp_subr.h')
-rw-r--r--sys/netncp/ncp_subr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netncp/ncp_subr.h b/sys/netncp/ncp_subr.h
index a4c4559..46099d7 100644
--- a/sys/netncp/ncp_subr.h
+++ b/sys/netncp/ncp_subr.h
@@ -84,7 +84,7 @@
#define checkbad(fn) {error=(fn);if(error) goto bad;}
-#define ncp_suser(cred) suser_xxx(cred, NULL, 0)
+#define ncp_suser(cred) suser_cred(cred, 0)
#define ncp_isowner(conn,cred) ((cred)->cr_uid == (conn)->nc_owner->cr_uid)
OpenPOWER on IntegriCloud