projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d4d89
)
ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 4 Apr 2009 20:34:22 +0000
(20:34 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 4 Apr 2009 20:34:22 +0000
(20:34 -0000)
networking/ftpd.c
patch
|
blob
|
history
diff --git
a/networking/ftpd.c
b/networking/ftpd.c
index 39a4d1869515d588146c07cfe85d3f53a1b50dfc..ac68961170b1e709466139439b114cccc91f8f12 100644
(file)
--- a/
networking/ftpd.c
+++ b/
networking/ftpd.c
@@
-659,7
+659,7
@@
popen_ls(const char *opt)
/* + 1: we must use relative path here if in chroot.
* For example, execv("/proc/self/exe") will fail, since
* it looks for "/proc/self/exe" _relative to chroot!_ */
- execv(
CONFIG_BUSYBOX_EXEC_PATH
+ 1, (char**) argv);
+ execv(
bb_busybox_exec_path
+ 1, (char**) argv);
_exit(127);
#else
memset(&G, 0, sizeof(G));