diff options
author | Tony Nguyen <Ton.Nguyen@Sun.COM> | 2008-09-29 17:35:19 -0700 |
---|---|---|
committer | Tony Nguyen <Ton.Nguyen@Sun.COM> | 2008-09-29 17:35:19 -0700 |
commit | d0fa49b78d1f40d84ec76c363cdc38cf128511dd (patch) | |
tree | b3c9ec29c19b3ed52c5d16b21f7eb0d328f96d16 /usr/src/uts/common/c2/audit.c | |
parent | 6392794b28bef963aa5ad05c3da79435fd0a5a0b (diff) | |
download | illumos-joyent-d0fa49b78d1f40d84ec76c363cdc38cf128511dd.tar.gz |
1207395 au_event_t is a currently a short. It should be redefined to be a u_short
Diffstat (limited to 'usr/src/uts/common/c2/audit.c')
-rw-r--r-- | usr/src/uts/common/c2/audit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/c2/audit.c b/usr/src/uts/common/c2/audit.c index cb459a8bca..66b0e4a3ff 100644 --- a/usr/src/uts/common/c2/audit.c +++ b/usr/src/uts/common/c2/audit.c @@ -1005,7 +1005,7 @@ audit_closef(struct file *fp) struct vnode *vp; token_t *ad = NULL; struct vattr attr; - short evmod = 0; + au_emod_t evmod = 0; const auditinfo_addr_t *ainfo; int getattr_ret; cred_t *cr; @@ -1019,7 +1019,7 @@ audit_closef(struct file *fp) /* audit record already generated by system call envelope */ if (tad->tad_event == AUE_CLOSE) { /* so close audit event will have bits set */ - tad->tad_evmod |= (short)fad->fad_flags; + tad->tad_evmod |= (au_emod_t)fad->fad_flags; return; } @@ -1058,7 +1058,7 @@ audit_closef(struct file *fp) } } - evmod = (short)fad->fad_flags; + evmod = (au_emod_t)fad->fad_flags; if (fad->fad_aupath != NULL) { au_write((caddr_t *)&(ad), au_to_path(fad->fad_aupath)); } else { |