aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:30:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-29 21:30:43 +0000
commita959588b80529ef5e02048ed71f3c7bf9a117217 (patch)
tree331b3963cb98fded02b753ca33bfa37cb48a97c6 /archival
parent6c30db8bd37da1466dc71bf3c8c20851d8f46c43 (diff)
downloadbusybox-a959588b80529ef5e02048ed71f3c7bf9a117217.tar.gz
Yet another silly little byte saving. couldn't -> cannot
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 a7f5ce481..9a68e62e4 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 cbcbcefed..91568e45f 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 00acea6e0..fe542b6ac 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);
}
}