diff options
Diffstat (limited to 'sys/security/audit/audit.h')
-rw-r--r-- | sys/security/audit/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h index 5b2f686..f44800a 100644 --- a/sys/security/audit/audit.h +++ b/sys/security/audit/audit.h @@ -186,7 +186,7 @@ void audit_thread_free(struct thread *td); * audit_enabled flag before performing the actual call. */ #define AUDIT_ARG(op, args...) do { \ - if (audit_enabled) \ + if (td->td_ar != NULL) \ audit_arg_ ## op (args); \ } while (0) |