diff options
author | Denis Vlasenko | 2007-02-04 00:09:18 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-02-04 00:09:18 +0000 |
commit | 9f85de1821de853b6d4c413273a4467df50b96f6 (patch) | |
tree | 359e5de57ffdda92ed61d7836ef4041c7261e788 | |
parent | e8ce0626d99114a66ae48273bb1478a3454b65cf (diff) | |
download | busybox-9f85de1821de853b6d4c413273a4467df50b96f6.zip busybox-9f85de1821de853b6d4c413273a4467df50b96f6.tar.gz |
BB_EXECLP should call execlp, not execvp
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index d733271..44bd6e0 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); |