summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/c2/audit_event.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-01-15 13:04:31 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-01-15 13:04:31 +0000
commit7a34fde236609b18147eb73e6a163e19162d96e2 (patch)
tree11d647767f5036bbcccee110ad13891ed603a972 /usr/src/uts/common/c2/audit_event.c
parent0de99a4637b946f1cd1c7d9fb5949112e1afb82f (diff)
parentc653bb4713ca694c2d16b04b65d5b76c0bb46bd4 (diff)
downloadillumos-joyent-7a34fde236609b18147eb73e6a163e19162d96e2.tar.gz
[illumos-gate merge]
commit c653bb4713ca694c2d16b04b65d5b76c0bb46bd4 10197 build smatch in parallel commit 15c07adc1c7b828006b5e3c4d528b92229d6bd23 10081 smatch indenting fixes for usr/src/uts commit 5661bb7641e85c46713da7a3002b29ecd2c3daf0 10080 smatch Makefile changes for usr/src/cmd commit 05ede3db5e3b7d540afbccdc872c735770e82ef3 10079 smatch Makefile changes for usr/src/lib commit cadd68ea0014761eda6a293664086dfa80686d85 10078 smatch fixes for UCB commit 1ea94c756c0bc9170021d7b570944a24f224c03f 10202 loader: use screen-#rows to find bottom left co-ordinates commit 08487eea68a2fa501b5042131c6db068089f82e1 10173 loader: support newer ZFS versions Conflicts: usr/src/lib/libdladm/Makefile.com usr/src/lib/fm/topo/modules/i86pc/chip/Makefile
Diffstat (limited to 'usr/src/uts/common/c2/audit_event.c')
-rw-r--r--usr/src/uts/common/c2/audit_event.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/uts/common/c2/audit_event.c b/usr/src/uts/common/c2/audit_event.c
index 5ccdba6965..cb75b17e3c 100644
--- a/usr/src/uts/common/c2/audit_event.c
+++ b/usr/src/uts/common/c2/audit_event.c
@@ -22,6 +22,7 @@
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ * Copyright (c) 2018, Joyent, Inc.
*/
/*
@@ -2340,9 +2341,9 @@ aus_ioctl(struct t_audit_data *tad)
au_uwrite(au_to_arg32(1, "fd", fd));
au_uwrite(au_to_arg32(2, "cmd", cmd));
#ifndef _LP64
- au_uwrite(au_to_arg32(3, "arg", (uint32_t)cmarg));
+ au_uwrite(au_to_arg32(3, "arg", (uint32_t)cmarg));
#else
- au_uwrite(au_to_arg64(3, "arg", (uint64_t)cmarg));
+ au_uwrite(au_to_arg64(3, "arg", (uint64_t)cmarg));
#endif
return;
}
@@ -2363,9 +2364,9 @@ aus_ioctl(struct t_audit_data *tad)
au_uwrite(au_to_arg32(2, "cmd", cmd));
#ifndef _LP64
- au_uwrite(au_to_arg32(3, "arg", (uint32_t)cmarg));
+ au_uwrite(au_to_arg32(3, "arg", (uint32_t)cmarg));
#else
- au_uwrite(au_to_arg64(3, "arg", (uint64_t)cmarg));
+ au_uwrite(au_to_arg64(3, "arg", (uint64_t)cmarg));
#endif
}