diff options
| author | maxv <maxv@NetBSD.org> | 2014-02-17 19:29:46 +0000 |
|---|---|---|
| committer | maxv <maxv@NetBSD.org> | 2014-02-17 19:29:46 +0000 |
| commit | 1c305f5aa161e3467a19645698b22cc2daa1b103 (patch) | |
| tree | c1ffd00dc3514519654043f0a0c461b536adc1bf /sys/kern/exec_script.c | |
| parent | 7ed283e282475cc692de33b6b5628379704801b2 (diff) | |
Cosmetic; just replace whitespaces by tabs
Diffstat (limited to 'sys/kern/exec_script.c')
| -rw-r--r-- | sys/kern/exec_script.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c index de78f667e85..e829625c38a 100644 --- a/sys/kern/exec_script.c +++ b/sys/kern/exec_script.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_script.c,v 1.67 2013/09/19 18:50:59 christos Exp $ */ +/* $NetBSD: exec_script.c,v 1.68 2014/02/17 19:29:46 maxv Exp $ */ /* * Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.67 2013/09/19 18:50:59 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.68 2014/02/17 19:29:46 maxv Exp $"); #if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS) #define FDSCRIPTS /* Need this for safe set-id scripts. */ @@ -95,7 +95,7 @@ exec_script_modcmd(modcmd_t cmd, void *arg) default: return ENOTTY; - } + } } /* @@ -345,10 +345,10 @@ fail: #endif /* kill the opened file descriptor, else close the file */ - if (epp->ep_flags & EXEC_HASFD) { - epp->ep_flags &= ~EXEC_HASFD; - fd_close(epp->ep_fd); - } else if (scriptvp) { + if (epp->ep_flags & EXEC_HASFD) { + epp->ep_flags &= ~EXEC_HASFD; + fd_close(epp->ep_fd); + } else if (scriptvp) { vn_lock(scriptvp, LK_EXCLUSIVE | LK_RETRY); VOP_CLOSE(scriptvp, FREAD, l->l_cred); vput(scriptvp); @@ -363,11 +363,11 @@ fail: kmem_free(shellargp, shellargp_len); } - /* - * free any vmspace-creation commands, - * and release their references - */ - kill_vmcmds(&epp->ep_vmcmds); + /* + * free any vmspace-creation commands, + * and release their references + */ + kill_vmcmds(&epp->ep_vmcmds); - return error; + return error; } |
