summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/c2/audit_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/c2/audit_event.c')
-rw-r--r--usr/src/uts/common/c2/audit_event.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/uts/common/c2/audit_event.c b/usr/src/uts/common/c2/audit_event.c
index c37ae13f18..723212aa52 100644
--- a/usr/src/uts/common/c2/audit_event.c
+++ b/usr/src/uts/common/c2/audit_event.c
@@ -77,7 +77,6 @@
#include <sys/port_impl.h>
-int au_naevent;
char _depends_on[] = "fs/sockfs";
static au_event_t aui_open(au_event_t);
@@ -1845,7 +1844,7 @@ aus_close(struct t_audit_data *tad)
return;
fad = F2A(fp);
- tad->tad_evmod = (short)fad->fad_flags;
+ tad->tad_evmod = (au_emod_t)fad->fad_flags;
if (fad->fad_aupath != NULL) {
au_uwrite(au_to_path(fad->fad_aupath));
if ((vp = fp->f_vnode) != NULL) {