ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/
authorDenis Vlasenko <vda.linux@googlemail.com>
Sat, 4 Apr 2009 20:34:22 +0000 (20:34 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sat, 4 Apr 2009 20:34:22 +0000 (20:34 -0000)
networking/ftpd.c

index 39a4d1869515d588146c07cfe85d3f53a1b50dfc..ac68961170b1e709466139439b114cccc91f8f12 100644 (file)
@@ -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));