diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-22 14:14:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-22 14:14:12 +0000 |
commit | 0feae2b086084ce16940249793f7b5ecabe85c52 (patch) | |
tree | 98fa9664da9fd8be22e369584c568625bc15f799 /sys/kern/kern_exec.c | |
parent | a49f87d13c19deac6e87761b349d96038b3acdfc (diff) |
KNF
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index cfe0e18af44..38438d2b027 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_exec.c,v 1.51 2001/06/19 07:54:36 deraadt Exp $ */ +/* $OpenBSD: kern_exec.c,v 1.52 2001/06/22 14:14:08 deraadt Exp $ */ /* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */ /*- @@ -475,8 +475,8 @@ sys_execve(p, v, retval) p->p_acflag &= ~AFORK; /* record proc's vnode, for use by procfs and others */ - if (p->p_textvp) - vrele(p->p_textvp); + if (p->p_textvp) + vrele(p->p_textvp); VREF(pack.ep_vp); p->p_textvp = pack.ep_vp; @@ -615,8 +615,8 @@ sys_execve(p, v, retval) KNOTE(&p->p_klist, NOTE_EXEC); /* setup new registers and do misc. setup. */ - if(pack.ep_emul->e_fixup != NULL) { - if((*pack.ep_emul->e_fixup)(p, &pack) != 0) + if (pack.ep_emul->e_fixup != NULL) { + if ((*pack.ep_emul->e_fixup)(p, &pack) != 0) goto free_pack_abort; } #ifdef MACHINE_STACK_GROWS_UP |