Module Name: src Committed By: joerg Date: Fri Sep 4 13:02:52 UTC 2009
Modified Files: src/usr.bin/unzip: unzip.c Log Message: Fix output spacing for summary in -v. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/unzip/unzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/unzip/unzip.c diff -u src/usr.bin/unzip/unzip.c:1.4 src/usr.bin/unzip/unzip.c:1.5 --- src/usr.bin/unzip/unzip.c:1.4 Sun Aug 23 15:50:35 2009 +++ src/usr.bin/unzip/unzip.c Fri Sep 4 13:02:52 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: unzip.c,v 1.4 2009/08/23 15:50:35 wiz Exp $ */ +/* $NetBSD: unzip.c,v 1.5 2009/09/04 13:02:52 joerg Exp $ */ /*- * Copyright (c) 2009 Joerg Sonnenberger <jo...@netbsd.org> @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: unzip.c,v 1.4 2009/08/23 15:50:35 wiz Exp $"); +__RCSID("$NetBSD: unzip.c,v 1.5 2009/09/04 13:02:52 joerg Exp $"); #include <sys/queue.h> #include <sys/stat.h> @@ -851,7 +851,7 @@ total_size, file_count, file_count != 1 ? "s" : ""); } else if (v_opt == 2) { printf("-------- ------- --- -------\n"); - printf("%8ju %7ju 0%% %8ju file%s\n", + printf("%8ju %7ju 0%% %ju file%s\n", total_size, total_size, file_count, file_count != 1 ? "s" : ""); }