diff options
Diffstat (limited to 'modules/pam_faillock/main.c')
-rw-r--r-- | modules/pam_faillock/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/pam_faillock/main.c b/modules/pam_faillock/main.c index 136be834..c6dd19cb 100644 --- a/modules/pam_faillock/main.c +++ b/modules/pam_faillock/main.c @@ -52,6 +52,7 @@ #endif #include "pam_inline.h" +#include "pam_i18n.h" #include "faillock.h" #include "faillock_config.h" @@ -247,7 +248,8 @@ do_user(struct options *opts, const char *user) #ifdef HAVE_LIBAUDIT } if ((audit_fd=audit_open()) >= 0) { - audit_log_acct_message(audit_fd, AUDIT_USER_MGMT, NULL, + (void) !audit_log_acct_message(audit_fd, + AUDIT_USER_MGMT, NULL, "faillock-reset", user, pwd != NULL ? pwd->pw_uid : AUDIT_NO_ID, NULL, NULL, NULL, rv == 0); |