diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-24 05:00:29 +0000 |
commit | 1e2799601614452a40df7862e6ca180ecb08c04d (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /coreutils/chroot.c | |
parent | 47f91d1f7fc06cf27e2a6c3c2ada99226ba50cb9 (diff) | |
download | busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.tar.gz busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.tar.bz2 busybox-w32-1e2799601614452a40df7862e6ca180ecb08c04d.zip |
Major rework of the directory structure and the entire build system.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r-- | coreutils/chroot.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c index de6a2ea50..ba3e5f864 100644 --- a/coreutils/chroot.c +++ b/coreutils/chroot.c | |||
@@ -2,9 +2,8 @@ | |||
2 | /* | 2 | /* |
3 | * Mini chroot implementation for busybox | 3 | * Mini chroot implementation for busybox |
4 | * | 4 | * |
5 | * | 5 | * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen |
6 | * Copyright (C) 1999,2000,2001 by Lineo, inc. | 6 | * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org> |
7 | * Written by Erik Andersen <andersen@lineo.com>, <andersee@debian.org> | ||
8 | * | 7 | * |
9 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
@@ -48,7 +47,7 @@ int chroot_main(int argc, char **argv) | |||
48 | prog = *argv; | 47 | prog = *argv; |
49 | execvp(*argv, argv); | 48 | execvp(*argv, argv); |
50 | } else { | 49 | } else { |
51 | #if defined shell_main && defined BB_FEATURE_SH_STANDALONE_SHELL | 50 | #if defined shell_main && defined CONFIG_FEATURE_SH_STANDALONE_SHELL |
52 | char shell[] = "/bin/sh"; | 51 | char shell[] = "/bin/sh"; |
53 | char *shell_argv[2] = { shell, NULL }; | 52 | char *shell_argv[2] = { shell, NULL }; |
54 | applet_name = shell; | 53 | applet_name = shell; |