summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/gunzip.c8
-rw-r--r--archival/uncompress.c2
-rw-r--r--archival/unlzma.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c
index a7f5ce4..9a68e62 100644
--- a/archival/gunzip.c
+++ b/archival/gunzip.c
@@ -119,13 +119,13 @@ int gunzip_main(int argc, char **argv)
check_header_gzip(src_fd);
status = inflate_gunzip(src_fd, dst_fd);
if (status != 0) {
- bb_error_msg_and_die("Error inflating");
+ bb_error_msg_and_die("error inflating");
}
} else {
- bb_error_msg_and_die("Invalid magic");
+ bb_error_msg_and_die("invalid magic");
}
} else {
- bb_error_msg_and_die("Invalid magic");
+ bb_error_msg_and_die("invalid magic");
}
if ((status != EXIT_SUCCESS) && (new_path)) {
@@ -142,7 +142,7 @@ int gunzip_main(int argc, char **argv)
/* delete_path will be NULL if in test mode or from stdin */
if (delete_path && (unlink(delete_path) == -1)) {
- bb_error_msg_and_die("Couldn't remove %s", delete_path);
+ bb_error_msg_and_die("cannot remove %s", delete_path);
}
free(new_path);
diff --git a/archival/uncompress.c b/archival/uncompress.c
index cbcbcef..91568e4 100644
--- a/archival/uncompress.c
+++ b/archival/uncompress.c
@@ -84,7 +84,7 @@ int uncompress_main(int argc, char **argv)
/* delete_path will be NULL if in test mode or from stdin */
if (delete_path && (unlink(delete_path) == -1)) {
- bb_error_msg_and_die("Couldn't remove %s", delete_path);
+ bb_error_msg_and_die("cannot remove %s", delete_path);
}
free(uncompressed_file);
diff --git a/archival/unlzma.c b/archival/unlzma.c
index 00acea6..fe542b6 100644
--- a/archival/unlzma.c
+++ b/archival/unlzma.c
@@ -40,7 +40,7 @@ int unlzma_main(int argc, char **argv)
/* bug: char *extension = filename + strlen(filename) - 5; */
char *extension = strrchr(filename, '.');
if (!extension || strcmp(extension, ".lzma") != 0) {
- bb_error_msg_and_die("Invalid extension");
+ bb_error_msg_and_die("invalid extension");
}
xstat(filename, &stat_buf);
*extension = '\0';
@@ -53,7 +53,7 @@ int unlzma_main(int argc, char **argv)
if (!status)
filename[strlen(filename)] = '.';
if (unlink(filename) < 0) {
- bb_error_msg_and_die("Couldn't remove %s", filename);
+ bb_error_msg_and_die("cannot remove %s", filename);
}
}