diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/gunzip.c | 8 | ||||
-rw-r--r-- | archival/uncompress.c | 2 | ||||
-rw-r--r-- | archival/unlzma.c | 4 |
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) | |||
119 | check_header_gzip(src_fd); | 119 | check_header_gzip(src_fd); |
120 | status = inflate_gunzip(src_fd, dst_fd); | 120 | status = inflate_gunzip(src_fd, dst_fd); |
121 | if (status != 0) { | 121 | if (status != 0) { |
122 | bb_error_msg_and_die("Error inflating"); | 122 | bb_error_msg_and_die("error inflating"); |
123 | } | 123 | } |
124 | } else { | 124 | } else { |
125 | bb_error_msg_and_die("Invalid magic"); | 125 | bb_error_msg_and_die("invalid magic"); |
126 | } | 126 | } |
127 | } else { | 127 | } else { |
128 | bb_error_msg_and_die("Invalid magic"); | 128 | bb_error_msg_and_die("invalid magic"); |
129 | } | 129 | } |
130 | 130 | ||
131 | if ((status != EXIT_SUCCESS) && (new_path)) { | 131 | if ((status != EXIT_SUCCESS) && (new_path)) { |
@@ -142,7 +142,7 @@ int gunzip_main(int argc, char **argv) | |||
142 | 142 | ||
143 | /* delete_path will be NULL if in test mode or from stdin */ | 143 | /* delete_path will be NULL if in test mode or from stdin */ |
144 | if (delete_path && (unlink(delete_path) == -1)) { | 144 | if (delete_path && (unlink(delete_path) == -1)) { |
145 | bb_error_msg_and_die("Couldn't remove %s", delete_path); | 145 | bb_error_msg_and_die("cannot remove %s", delete_path); |
146 | } | 146 | } |
147 | 147 | ||
148 | free(new_path); | 148 | 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) | |||
84 | 84 | ||
85 | /* delete_path will be NULL if in test mode or from stdin */ | 85 | /* delete_path will be NULL if in test mode or from stdin */ |
86 | if (delete_path && (unlink(delete_path) == -1)) { | 86 | if (delete_path && (unlink(delete_path) == -1)) { |
87 | bb_error_msg_and_die("Couldn't remove %s", delete_path); | 87 | bb_error_msg_and_die("cannot remove %s", delete_path); |
88 | } | 88 | } |
89 | 89 | ||
90 | free(uncompressed_file); | 90 | 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) | |||
40 | /* bug: char *extension = filename + strlen(filename) - 5; */ | 40 | /* bug: char *extension = filename + strlen(filename) - 5; */ |
41 | char *extension = strrchr(filename, '.'); | 41 | char *extension = strrchr(filename, '.'); |
42 | if (!extension || strcmp(extension, ".lzma") != 0) { | 42 | if (!extension || strcmp(extension, ".lzma") != 0) { |
43 | bb_error_msg_and_die("Invalid extension"); | 43 | bb_error_msg_and_die("invalid extension"); |
44 | } | 44 | } |
45 | xstat(filename, &stat_buf); | 45 | xstat(filename, &stat_buf); |
46 | *extension = '\0'; | 46 | *extension = '\0'; |
@@ -53,7 +53,7 @@ int unlzma_main(int argc, char **argv) | |||
53 | if (!status) | 53 | if (!status) |
54 | filename[strlen(filename)] = '.'; | 54 | filename[strlen(filename)] = '.'; |
55 | if (unlink(filename) < 0) { | 55 | if (unlink(filename) < 0) { |
56 | bb_error_msg_and_die("Couldn't remove %s", filename); | 56 | bb_error_msg_and_die("cannot remove %s", filename); |
57 | } | 57 | } |
58 | } | 58 | } |
59 | 59 | ||