summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit_bsm_klib.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/audit/audit_bsm_klib.c')
-rw-r--r--sys/security/audit/audit_bsm_klib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit_bsm_klib.c b/sys/security/audit/audit_bsm_klib.c
index 66ccdd9..3282226 100644
--- a/sys/security/audit/audit_bsm_klib.c
+++ b/sys/security/audit/audit_bsm_klib.c
@@ -78,7 +78,7 @@ au_event_class(au_event_t event)
mtx_lock(&evclass_mtx);
evcl = &evclass_hash[event % EVCLASSMAP_HASH_TABLE_SIZE];
- class = AU_NULL;
+ class = 0;
LIST_FOREACH(evc, &evcl->head, entry) {
if (evc->event == event) {
class = evc->class;
@@ -145,7 +145,7 @@ au_evclassmap_init(void)
*/
for (i = 0; i < SYS_MAXSYSCALL; i++) {
if (sysent[i].sy_auevent != AUE_NULL)
- au_evclassmap_insert(sysent[i].sy_auevent, AU_NULL);
+ au_evclassmap_insert(sysent[i].sy_auevent, 0);
}
}
OpenPOWER on IntegriCloud