BB_EXECLP should call execlp, not execvp

This commit is contained in:
Denis Vlasenko 2007-02-04 00:09:18 +00:00
parent e8ce0626d9
commit 9f85de1821

View File

@ -561,7 +561,7 @@ int exists_execable(const char *filename);
execlp((find_applet_by_name(prog)) ? CONFIG_BUSYBOX_EXEC_PATH : prog, cmd, __VA_ARGS__) execlp((find_applet_by_name(prog)) ? CONFIG_BUSYBOX_EXEC_PATH : prog, cmd, __VA_ARGS__)
#else #else
#define BB_EXECVP(prog,cmd) execvp(prog,cmd) #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 #endif
USE_DESKTOP(long long) int uncompress(int fd_in, int fd_out); USE_DESKTOP(long long) int uncompress(int fd_in, int fd_out);