projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use BB_EXECVP_or_die where appropriate
[oweals/busybox.git]
/
init
/
bootchartd.c
diff --git
a/init/bootchartd.c
b/init/bootchartd.c
index 5a1b3e8e886248641ef9ade3e50b2dfdc8bfd735..ac3f261c805d48d759eb8ab1326f3e16f1fe9821 100644
(file)
--- a/
init/bootchartd.c
+++ b/
init/bootchartd.c
@@
-441,8
+441,7
@@
int bootchartd_main(int argc UNUSED_PARAM, char **argv)
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);