style nit

This commit is contained in:
elad 2007-02-08 00:26:50 +00:00
parent d8ec0012f2
commit 24d02b5648
1 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_exec.c,v 1.235 2007/02/05 14:34:29 rillig Exp $ */
/* $NetBSD: kern_exec.c,v 1.236 2007/02/08 00:26:50 elad Exp $ */
/*-
* Copyright (C) 1993, 1994, 1996 Christopher G. Demetriou
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.235 2007/02/05 14:34:29 rillig Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.236 2007/02/08 00:26:50 elad Exp $");
#include "opt_ktrace.h"
#include "opt_syscall_debug.h"
@ -286,9 +286,10 @@ check_exec(struct lwp *l, struct exec_package *epp)
VOP_UNLOCK(vp, 0);
#if NVERIEXEC > 0
if ((error = veriexec_verify(l, vp, ndp->ni_cnd.cn_pnbuf,
error = veriexec_verify(l, vp, ndp->ni_cnd.cn_pnbuf,
epp->ep_flags & EXEC_INDIR ? VERIEXEC_INDIRECT : VERIEXEC_DIRECT,
NULL)) != 0)
NULL);
if (error)
goto bad2;
#endif /* NVERIEXEC > 0 */