diff options
author | Elliott Hughes <enh@google.com> | 2020-04-17 16:01:16 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2020-04-17 16:07:01 -0700 |
commit | 6f5913511c83d61ef82a090d60a0dee79c2fcd5b (patch) | |
tree | 45a457a51521a2a0738cec9f91c9a4f562dd5b91 | |
parent | 1e98e552c634cd26a1df8334a5226fe6c7e63195 (diff) | |
download | core-6f5913511c83d61ef82a090d60a0dee79c2fcd5b.tar.gz |
Fix unzip formatting.
Test: toybox tests, plus the ziptool tests
Change-Id: I31fd36c1bdb015b7b5062b53874143eb28b20d24
-rw-r--r-- | libziparchive/ziptool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libziparchive/ziptool.cpp b/libziparchive/ziptool.cpp index 17d4833a5..a2615359a 100644 --- a/libziparchive/ziptool.cpp +++ b/libziparchive/ziptool.cpp @@ -263,12 +263,12 @@ static void ListOne(const ZipEntry64& entry, const std::string& name) { snprintf(time, sizeof(time), "%04d-%02d-%02d %02d:%02d", t.tm_year + 1900, t.tm_mon + 1, t.tm_mday, t.tm_hour, t.tm_min); if (flag_v) { - printf("%8" PRIu64 " %s %8" PRIu64 " %3.0f%% %s %08x %s\n", entry.uncompressed_length, + printf("%8" PRIu64 " %s %8" PRIu64 " %3.0f%% %s %08x %s\n", entry.uncompressed_length, (entry.method == kCompressStored) ? "Stored" : "Defl:N", entry.compressed_length, CompressionRatio(entry.uncompressed_length, entry.compressed_length), time, entry.crc32, name.c_str()); } else { - printf("%9" PRIu64 " %s %s\n", entry.uncompressed_length, time, name.c_str()); + printf("%9" PRIu64 " %s %s\n", entry.uncompressed_length, time, name.c_str()); } } |