diff options
Diffstat (limited to 'init/bootchartd.c')
-rw-r--r-- | init/bootchartd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c index 5a1b3e8e8..ac3f261c8 100644 --- a/init/bootchartd.c +++ b/init/bootchartd.c | |||
@@ -441,8 +441,7 @@ int bootchartd_main(int argc UNUSED_PARAM, char **argv) | |||
441 | pid_t pid = xvfork(); | 441 | pid_t pid = xvfork(); |
442 | if (pid == 0) { /* child */ | 442 | if (pid == 0) { /* child */ |
443 | argv += 2; | 443 | argv += 2; |
444 | execvp(argv[0], argv); | 444 | BB_EXECVP_or_die(argv); |
445 | bb_perror_msg_and_die("can't execute '%s'", argv[0]); | ||
446 | } | 445 | } |
447 | /* parent */ | 446 | /* parent */ |
448 | waitpid(pid, NULL, 0); | 447 | waitpid(pid, NULL, 0); |