summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2009-02-26 12:29:59 +0000
committerDenis Vlasenko2009-02-26 12:29:59 +0000
commitf09f4e015bffe6db5d7e63d47b23f22db4806736 (patch)
tree38393e9a60430aa64541370c68151101e62a64ec /util-linux
parent48637e0924dcd13629ebf3aeffa80cdda1beb5af (diff)
downloadbusybox-f09f4e015bffe6db5d7e63d47b23f22db4806736.zip
busybox-f09f4e015bffe6db5d7e63d47b23f22db4806736.tar.gz
runsv: small optimization
*: more paranoia around passing NULL to execl[e] function old new delta custom 240 221 -19
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/script.c b/util-linux/script.c
index 2e103fd..a9f24b1 100644
--- a/util-linux/script.c
+++ b/util-linux/script.c
@@ -181,6 +181,6 @@ int script_main(int argc UNUSED_PARAM, char **argv)
/* Non-ignored signals revert to SIG_DFL on exec anyway */
/*signal(SIGCHLD, SIG_DFL);*/
- execl(shell, shell, shell_opt, shell_arg, NULL);
+ execl(shell, shell, shell_opt, shell_arg, (char *) NULL);
bb_simple_perror_msg_and_die(shell);
}