diff options
author | Dmitry V. Levin <ldv@strace.io> | 2024-08-17 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-08-17 08:00:00 +0000 |
commit | 4f25140ae411644dc14a4f9f2b23840b3de51816 (patch) | |
tree | 1e19d872fe90015f53469fa0b7c8a9c8ddd29d63 /modules | |
parent | fba347d87076a0efe7855fd345124fd5345e986e (diff) | |
download | pam-4f25140ae411644dc14a4f9f2b23840b3de51816.tar.gz pam-4f25140ae411644dc14a4f9f2b23840b3de51816.tar.bz2 pam-4f25140ae411644dc14a4f9f2b23840b3de51816.zip |
pam_rootok: silence compilation warning
* modules/pam_rootok/pam_rootok.c (log_callback) [HAVE_LIBAUDIT]:
Silence compilation warning.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam_rootok/pam_rootok.c | 4 |
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; |