aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_rootok/pam_rootok.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_rootok/pam_rootok.c b/modules/pam_rootok/pam_rootok.c
index 1b88fb19..0c206157 100644
--- a/modules/pam_rootok/pam_rootok.c
+++ b/modules/pam_rootok/pam_rootok.c
@@ -69,8 +69,8 @@ log_callback (int type UNUSED, const char *fmt, ...)
audit_close(audit_fd);
return 0;
}
- audit_log_user_avc_message(audit_fd, AUDIT_USER_AVC, buf, NULL, NULL,
- NULL, 0);
+ (void) !audit_log_user_avc_message(audit_fd, AUDIT_USER_AVC, buf,
+ NULL, NULL, NULL, 0);
audit_close(audit_fd);
free(buf);
return 0;