From f9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 21 Apr 2009 20:40:51 +0000 Subject: switch_root: improve behavior on error; improve help text *: make "can't execute '%s'" message uniform --- archival/libunarchive/open_transformer.c | 2 +- archival/tar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'archival') 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, 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 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) #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 */ -- cgit v1.2.1