From b5bc5d965b31aaa60d65da0a9a05d14caf3a7fde Mon Sep 17 00:00:00 2001 From: des Date: Thu, 4 Sep 2008 13:06:36 +0000 Subject: [PATCH] Unbreak the build. Pointy hat to: kevlo --- sys/security/audit/audit_syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c index ee8e80166f87..7b7cb0efcfa2 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);