aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-02-16 13:09:27 +0100
committerBrian Behlendorf <[email protected]>2022-02-18 09:34:08 -0800
commit46c7a80280a5d36a9bc1b167ceadc316196965df (patch)
treeb875f3710fb90940a3639b85b77461f41adf4b2a /contrib
parentef70eff1982228862ef9ad70f21b222cde06eb5e (diff)
userspace: mark arguments used
Reviewed-by: Alejandro Colomar <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13110
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pam_zfs_key/pam_zfs_key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/pam_zfs_key/pam_zfs_key.c b/contrib/pam_zfs_key/pam_zfs_key.c
index 9702189f6..f831f65af 100644
--- a/contrib/pam_zfs_key/pam_zfs_key.c
+++ b/contrib/pam_zfs_key/pam_zfs_key.c
@@ -47,6 +47,7 @@
static void
pam_syslog(pam_handle_t *pamh, int loglevel, const char *fmt, ...)
{
+ (void) pamh;
va_list args;
va_start(args, fmt);
vsyslog(loglevel, fmt, args);