summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index bc2b881..ae060da 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -211,7 +211,7 @@ exit1(struct thread *td, int rv)
* it was. The exit status is WEXITSTATUS(rv), but it's not clear
* what the return value is.
*/
- AUDIT_ARG(exit, WEXITSTATUS(rv), 0);
+ AUDIT_ARG_EXIT(WEXITSTATUS(rv), 0);
AUDIT_SYSCALL_EXIT(0, td);
#endif
@@ -803,7 +803,7 @@ kern_wait(struct thread *td, pid_t pid, int *status, int options,
struct proc *p, *q;
int error, nfound;
- AUDIT_ARG(pid, pid);
+ AUDIT_ARG_PID(pid);
q = td->td_proc;
if (pid == 0) {
OpenPOWER on IntegriCloud