summaryrefslogtreecommitdiff
path: root/archival/unzip.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-26 14:32:57 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-26 14:32:57 +0000
commitf5d8c90d73777d912ddffea9dd7c537c3a1a43a5 (patch)
treea358be6a258f4c7c8905f1809737e74413df26c6 /archival/unzip.c
parent2649f215aecf923713d2f9a379cf651437ddf499 (diff)
downloadbusybox-w32-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.tar.gz
busybox-w32-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.tar.bz2
busybox-w32-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.zip
style fixes, no code changes
Diffstat (limited to 'archival/unzip.c')
-rw-r--r--archival/unzip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index c7d39daef..2c8971295 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -308,7 +308,7 @@ int unzip_main(int argc, char **argv)
308 } else if (last_char_is(dst_fn, '/')) { /* Extract directory */ 308 } else if (last_char_is(dst_fn, '/')) { /* Extract directory */
309 if (stat(dst_fn, &stat_buf) == -1) { 309 if (stat(dst_fn, &stat_buf) == -1) {
310 if (errno != ENOENT) { 310 if (errno != ENOENT) {
311 bb_perror_msg_and_die("cannot stat '%s'",dst_fn); 311 bb_perror_msg_and_die("cannot stat '%s'", dst_fn);
312 } 312 }
313 if (verbose) { 313 if (verbose) {
314 printf(" creating: %s\n", dst_fn); 314 printf(" creating: %s\n", dst_fn);
@@ -328,7 +328,7 @@ int unzip_main(int argc, char **argv)
328 _check_file: 328 _check_file:
329 if (stat(dst_fn, &stat_buf) == -1) { /* File does not exist */ 329 if (stat(dst_fn, &stat_buf) == -1) { /* File does not exist */
330 if (errno != ENOENT) { 330 if (errno != ENOENT) {
331 bb_perror_msg_and_die("cannot stat '%s'",dst_fn); 331 bb_perror_msg_and_die("cannot stat '%s'", dst_fn);
332 } 332 }
333 i = 'y'; 333 i = 'y';
334 } else { /* File already exists */ 334 } else { /* File already exists */
@@ -345,7 +345,7 @@ int unzip_main(int argc, char **argv)
345 i = key_buf[0]; 345 i = key_buf[0];
346 } 346 }
347 } else { /* File is not regular file */ 347 } else { /* File is not regular file */
348 bb_error_msg_and_die("'%s' exists but is not regular file",dst_fn); 348 bb_error_msg_and_die("'%s' exists but is not regular file", dst_fn);
349 } 349 }
350 } 350 }
351 } 351 }