commit | 1c31e9e82b12bdceeec4f8e07955984e20ee6b7e | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sun Nov 28 04:34:09 2010 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Nov 28 04:34:09 2010 +0100 |
tree | 7b06f2898ba16ea00b77c5a2d1295c37753a8c4d | |
parent | 57542ebe4fee39b6d3091b964c42ce07ecfec7ef [diff] [blame] |
use BB_EXECVP_or_die where appropriate Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/init/bootchartd.c b/init/bootchartd.c index 5a1b3e8..ac3f261 100644 --- a/init/bootchartd.c +++ b/init/bootchartd.c
@@ -441,8 +441,7 @@ pid_t pid = xvfork(); if (pid == 0) { /* child */ argv += 2; - execvp(argv[0], argv); - bb_perror_msg_and_die("can't execute '%s'", argv[0]); + BB_EXECVP_or_die(argv); } /* parent */ waitpid(pid, NULL, 0);