*
*/
-#include "busybox.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
+#include "busybox.h"
int chroot_main(int argc, char **argv)
{
prog = "/bin/sh";
execlp(prog, prog, NULL);
#else
- shell_main(argc, argv);
+ char shell[] = "/bin/sh";
+ char *shell_argv[2] = { shell, NULL };
+ applet_name = shell;
+ shell_main(1, shell_argv);
return EXIT_SUCCESS;
#endif
}