summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-04-24 12:23:31 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-04-24 12:23:31 +0000
commit81efe39debd3f5208dffd2a9d666bc3669bc4aea (patch)
tree6ce14b925e8d67fd00b59651e45def804b21e532 /sys
parent12e79a9bbc4b0990c41c83569a37d617cc74ec23 (diff)
Notes
Diffstat (limited to 'sys')
-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 08bebcde8fb7..e6e0cb72c628 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)