diff options
author | Denis Vlasenko | 2009-04-21 20:40:51 +0000 |
---|---|---|
committer | Denis Vlasenko | 2009-04-21 20:40:51 +0000 |
commit | f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f (patch) | |
tree | b341f97661b629cc112ebe09933c044ebb31a6f7 /archival | |
parent | 950bd729665cecf1fbee65bc6e57e087c93aaab6 (diff) | |
download | busybox-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.zip busybox-f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f.tar.gz |
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 fae589e..47c13e6 100644 --- a/archival/libunarchive/open_transformer.c +++ b/archival/libunarchive/open_transformer.c @@ -52,7 +52,7 @@ void FAST_FUNC open_transformer(int fd, argv[2] = (char*)"-"; argv[3] = NULL; BB_EXECVP(transform_prog, argv); - bb_perror_msg_and_die("can't exec %s", transform_prog); + bb_perror_msg_and_die("can't execute '%s'", transform_prog); } #endif /* notreached */ diff --git a/archival/tar.c b/archival/tar.c index 379028b..9b7a42a 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -577,7 +577,7 @@ static void NOINLINE vfork_compressor(int tar_fd, int gzip) #endif if (vfork_exec_errno) { errno = vfork_exec_errno; - bb_perror_msg_and_die("cannot exec %s", zip_exec); + bb_perror_msg_and_die("can't execute '%s'", zip_exec); } } #endif /* ENABLE_FEATURE_SEAMLESS_GZ || ENABLE_FEATURE_SEAMLESS_BZ2 */ |