diff options
Diffstat (limited to 'archival/gunzip.c')
-rw-r--r-- | archival/gunzip.c | 8 |
1 files changed, 4 insertions, 4 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); |