summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-21 20:40:51 +0000
committerDenis Vlasenko2009-04-21 20:40:51 +0000
commitf9d4fc3cf8ca91dbebfa305c5c08f8781caa1a0f (patch)
treeb341f97661b629cc112ebe09933c044ebb31a6f7 /archival
parent950bd729665cecf1fbee65bc6e57e087c93aaab6 (diff)
downloadbusybox-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.c2
-rw-r--r--archival/tar.c2
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 */