summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-26 14:32:57 +0000
committerDenis Vlasenko2008-06-26 14:32:57 +0000
commitf5d8c90d73777d912ddffea9dd7c537c3a1a43a5 (patch)
treea358be6a258f4c7c8905f1809737e74413df26c6 /archival
parent2649f215aecf923713d2f9a379cf651437ddf499 (diff)
downloadbusybox-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.zip
busybox-f5d8c90d73777d912ddffea9dd7c537c3a1a43a5.tar.gz
style fixes, no code changes
Diffstat (limited to 'archival')
-rw-r--r--archival/libunarchive/decompress_bunzip2.c4
-rw-r--r--archival/unzip.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c
index 8f35bc5..6da09fc 100644
--- a/archival/libunarchive/decompress_bunzip2.c
+++ b/archival/libunarchive/decompress_bunzip2.c
@@ -761,9 +761,9 @@ int main(int argc, char **argv)
char c;
if (i < 0)
- fprintf(stderr,"%s\n", bunzip_errors[-i]);
+ fprintf(stderr, "%s\n", bunzip_errors[-i]);
else if (read(STDIN_FILENO, &c, 1))
- fprintf(stderr,"Trailing garbage ignored\n");
+ fprintf(stderr, "Trailing garbage ignored\n");
return -i;
}
#endif
diff --git a/archival/unzip.c b/archival/unzip.c
index c7d39da..2c89712 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -308,7 +308,7 @@ int unzip_main(int argc, char **argv)
} else if (last_char_is(dst_fn, '/')) { /* Extract directory */
if (stat(dst_fn, &stat_buf) == -1) {
if (errno != ENOENT) {
- bb_perror_msg_and_die("cannot stat '%s'",dst_fn);
+ bb_perror_msg_and_die("cannot stat '%s'", dst_fn);
}
if (verbose) {
printf(" creating: %s\n", dst_fn);
@@ -328,7 +328,7 @@ int unzip_main(int argc, char **argv)
_check_file:
if (stat(dst_fn, &stat_buf) == -1) { /* File does not exist */
if (errno != ENOENT) {
- bb_perror_msg_and_die("cannot stat '%s'",dst_fn);
+ bb_perror_msg_and_die("cannot stat '%s'", dst_fn);
}
i = 'y';
} else { /* File already exists */
@@ -345,7 +345,7 @@ int unzip_main(int argc, char **argv)
i = key_buf[0];
}
} else { /* File is not regular file */
- bb_error_msg_and_die("'%s' exists but is not regular file",dst_fn);
+ bb_error_msg_and_die("'%s' exists but is not regular file", dst_fn);
}
}
}