From f09f4e015bffe6db5d7e63d47b23f22db4806736 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 26 Feb 2009 12:29:59 +0000 Subject: runsv: small optimization *: more paranoia around passing NULL to execl[e] function old new delta custom 240 221 -19 --- util-linux/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') 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); } -- cgit v1.1