diff options
author | des <des@FreeBSD.org> | 2008-09-04 13:06:36 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2008-09-04 13:06:36 +0000 |
commit | b5bc5d965b31aaa60d65da0a9a05d14caf3a7fde (patch) | |
tree | 426eed624c30bdbc9b06ce12e7e1a49e1ebb3f42 /sys/security/audit | |
parent | 92fbe03257da72372f8d73a62a446e4cda47cc3b (diff) | |
download | FreeBSD-src-b5bc5d965b31aaa60d65da0a9a05d14caf3a7fde.zip FreeBSD-src-b5bc5d965b31aaa60d65da0a9a05d14caf3a7fde.tar.gz |
Unbreak the build.
Pointy hat to: kevlo
Diffstat (limited to 'sys/security/audit')
-rw-r--r-- | sys/security/audit/audit_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c index ee8e801..7b7cb0e 100644 --- a/sys/security/audit/audit_syscalls.c +++ b/sys/security/audit/audit_syscalls.c @@ -317,7 +317,7 @@ auditon(struct thread *td, struct auditon_args *uap) return (ESRCH); if ((tp = pfind(udata.au_aupinfo.ap_pid)) == NULL) return (ESRCH); - if ((error = p_cansee(td, tp)) != 0) + if ((error = p_cansee(td, tp)) != 0) { PROC_UNLOCK(tp); return (error); } @@ -348,7 +348,7 @@ auditon(struct thread *td, struct auditon_args *uap) crfree(newcred); return (ESRCH); } - if ((error = p_cansee(td, tp)) != 0) + if ((error = p_cansee(td, tp)) != 0) { PROC_UNLOCK(tp); crfree(newcred); return (error); |