diff options
Diffstat (limited to 'src/core/nm-audit-manager.c')
-rw-r--r-- | src/core/nm-audit-manager.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/core/nm-audit-manager.c b/src/core/nm-audit-manager.c index 4e134d1a3c..7cf5294603 100644 --- a/src/core/nm-audit-manager.c +++ b/src/core/nm-audit-manager.c @@ -185,13 +185,16 @@ nm_audit_log(NMAuditManager *self, priv = NM_AUDIT_MANAGER_GET_PRIVATE(self); if (priv->auditd_fd >= 0) { - audit_log_user_message(priv->auditd_fd, - AUDIT_USYS_CONFIG, - build_message(&strbuf, BACKEND_AUDITD, fields), - NULL, - NULL, - NULL, - success); + int r; + + r = audit_log_user_message(priv->auditd_fd, + AUDIT_USYS_CONFIG, + build_message(&strbuf, BACKEND_AUDITD, fields), + NULL, + NULL, + NULL, + success); + (void) r; } #endif |