aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-04 00:09:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-04 00:09:18 +0000
commit9f85de1821de853b6d4c413273a4467df50b96f6 (patch)
tree359e5de57ffdda92ed61d7836ef4041c7261e788 /include
parente8ce0626d99114a66ae48273bb1478a3454b65cf (diff)
downloadbusybox-9f85de1821de853b6d4c413273a4467df50b96f6.tar.gz
BB_EXECLP should call execlp, not execvp
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index d7332714f..44bd6e09d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -561,7 +561,7 @@ int exists_execable(const char *filename);
execlp((find_applet_by_name(prog)) ? CONFIG_BUSYBOX_EXEC_PATH : prog, cmd, __VA_ARGS__)
#else
#define BB_EXECVP(prog,cmd) execvp(prog,cmd)
-#define BB_EXECLP(prog,cmd,...) execvp(prog,cmd, __VA_ARGS__)
+#define BB_EXECLP(prog,cmd,...) execlp(prog,cmd, __VA_ARGS__)
#endif
USE_DESKTOP(long long) int uncompress(int fd_in, int fd_out);