aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_unix')
-rw-r--r--modules/pam_unix/passverify.c1
-rw-r--r--modules/pam_unix/passverify.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/passverify.c b/modules/pam_unix/passverify.c
index c6515a65..045ea785 100644
--- a/modules/pam_unix/passverify.c
+++ b/modules/pam_unix/passverify.c
@@ -1132,7 +1132,6 @@ helper_verify_password(const char *name, const char *p, int nullok)
}
void
-PAM_FORMAT((printf, 2, 3))
helper_log_err(int err, const char *format, ...)
{
va_list args;
diff --git a/modules/pam_unix/passverify.h b/modules/pam_unix/passverify.h
index 463ef185..9276347c 100644
--- a/modules/pam_unix/passverify.h
+++ b/modules/pam_unix/passverify.h
@@ -37,6 +37,7 @@ save_old_password(pam_handle_t *pamh, const char *forwho, const char *oldpass,
#ifdef HELPER_COMPILE
void
+PAM_FORMAT((printf, 2, 3))
helper_log_err(int err, const char *format,...);
int