summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os/exec.c')
-rw-r--r--usr/src/uts/common/os/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/os/exec.c b/usr/src/uts/common/os/exec.c
index fc299421fa..f6d31f8e8b 100644
--- a/usr/src/uts/common/os/exec.c
+++ b/usr/src/uts/common/os/exec.c
@@ -1829,7 +1829,7 @@ exec_args(execa_t *uap, uarg_t *args, intpdata_t *intp, void **auxvpp)
*/
delete_itimer_realprof();
- if (audit_active)
+ if (AU_AUDITING())
audit_exec(args->stk_base, args->stk_base + args->arglen,
args->na - args->ne, args->ne);