diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 20:40:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 20:40:51 +0000 |
commit | f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f (patch) | |
tree | b341f97661b629cc112ebe09933c044ebb31a6f7 /archival | |
parent | 950bd729665cecf1fbee65bc6e57e087c93aaab6 (diff) | |
download | busybox-w32-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.tar.gz busybox-w32-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.tar.bz2 busybox-w32-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.zip |
switch_root: improve behavior on error; improve help text
*: make "can't execute '%s'" message uniform
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/open_transformer.c | 2 | ||||
-rw-r--r-- | archival/tar.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/libunarchive/open_transformer.c b/archival/libunarchive/open_transformer.c index fae589ee0..47c13e6f4 100644 --- a/archival/libunarchive/open_transformer.c +++ b/archival/libunarchive/open_transformer.c | |||
@@ -52,7 +52,7 @@ void FAST_FUNC open_transformer(int fd, | |||
52 | argv[2] = (char*)"-"; | 52 | argv[2] = (char*)"-"; |
53 | argv[3] = NULL; | 53 | argv[3] = NULL; |
54 | BB_EXECVP(transform_prog, argv); | 54 | BB_EXECVP(transform_prog, argv); |
55 | bb_perror_msg_and_die("can't exec %s", transform_prog); | 55 | bb_perror_msg_and_die("can't execute '%s'", transform_prog); |
56 | } | 56 | } |
57 | #endif | 57 | #endif |
58 | /* notreached */ | 58 | /* notreached */ |
diff --git a/archival/tar.c b/archival/tar.c index 379028bd9..9b7a42a18 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -577,7 +577,7 @@ static void NOINLINE vfork_compressor(int tar_fd, int gzip) | |||
577 | #endif | 577 | #endif |
578 | if (vfork_exec_errno) { | 578 | if (vfork_exec_errno) { |
579 | errno = vfork_exec_errno; | 579 | errno = vfork_exec_errno; |
580 | bb_perror_msg_and_die("cannot exec %s", zip_exec); | 580 | bb_perror_msg_and_die("can't execute '%s'", zip_exec); |
581 | } | 581 | } |
582 | } | 582 | } |
583 | #endif /* ENABLE_FEATURE_SEAMLESS_GZ || ENABLE_FEATURE_SEAMLESS_BZ2 */ | 583 | #endif /* ENABLE_FEATURE_SEAMLESS_GZ || ENABLE_FEATURE_SEAMLESS_BZ2 */ |