summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/audit/audit.h')
-rw-r--r--sys/security/audit/audit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h
index 08bebcd..e6e0cb7 100644
--- a/sys/security/audit/audit.h
+++ b/sys/security/audit/audit.h
@@ -202,7 +202,7 @@ void audit_thread_free(struct thread *td);
* possible that an audit record was begun before auditing was turned off.
*/
#define AUDIT_SYSCALL_EXIT(error, td) do { \
- if (audit_enabled | (td->td_ar != NULL)) \
+ if (audit_enabled || (td->td_ar != NULL)) \
audit_syscall_exit(error, td); \
} while (0)
OpenPOWER on IntegriCloud