aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-12-11 19:32:16 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-12-11 19:32:16 +0000
commitcc426dd31990b8b50b210efc450e404596548ca1 (patch)
tree4c797c5d8886d8d05bb5346b747005b539105825 /sys/netsmb
parent959530cc41aea5f878c2c2cea5b545d295108bab (diff)
downloadsrc-cc426dd31990b8b50b210efc450e404596548ca1.tar.gz
src-cc426dd31990b8b50b210efc450e404596548ca1.zip
Remove unused argument to priv_check_cred.
Patch mostly generated with cocinnelle: @@ expression E1,E2; @@ - priv_check_cred(E1,E2,0) + priv_check_cred(E1,E2) Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=341827
Diffstat (limited to 'sys/netsmb')
-rw-r--r--sys/netsmb/smb_subr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_subr.h b/sys/netsmb/smb_subr.h
index db5d757512a9..e32fbc424593 100644
--- a/sys/netsmb/smb_subr.h
+++ b/sys/netsmb/smb_subr.h
@@ -64,7 +64,7 @@ void m_dumpm(struct mbuf *m);
SIGISMEMBER(set, SIGHUP) || SIGISMEMBER(set, SIGKILL) || \
SIGISMEMBER(set, SIGQUIT))
-#define smb_suser(cred) priv_check_cred(cred, PRIV_NETSMB, 0)
+#define smb_suser(cred) priv_check_cred(cred, PRIV_NETSMB)
/*
* Compatibility wrappers for simple locks