diff options
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r-- | coreutils/chroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c index f7228a61a..bc0b1f82c 100644 --- a/coreutils/chroot.c +++ b/coreutils/chroot.c | |||
@@ -30,6 +30,6 @@ int chroot_main(int argc UNUSED_PARAM, char **argv) | |||
30 | argv[1] = (char *) "-i"; | 30 | argv[1] = (char *) "-i"; |
31 | } | 31 | } |
32 | 32 | ||
33 | BB_EXECVP(*argv, argv); | 33 | BB_EXECVP(argv[0], argv); |
34 | bb_perror_msg_and_die("can't execute '%s'", *argv); | 34 | bb_perror_msg_and_die("can't execute '%s'", argv[0]); |
35 | } | 35 | } |