mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Unbreak the build.
Pointy hat to: kevlo
This commit is contained in:
parent
d99ebc85d9
commit
19de3e9011
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue