Module Name: src
Committed By: joerg
Date: Tue Sep 6 18:43:41 UTC 2011
Modified Files:
src/usr.bin/unzip: unzip.c
Log Message:
error_count is unsigned, so use %ju
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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.18 src/usr.bin/unzip/unzip.c:1.19
--- src/usr.bin/unzip/unzip.c:1.18 Tue Sep 6 18:42:13 2011
+++ src/usr.bin/unzip/unzip.c Tue Sep 6 18:43:41 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: unzip.c,v 1.18 2011/09/06 18:42:13 joerg Exp $ */
+/* $NetBSD: unzip.c,v 1.19 2011/09/06 18:43:41 joerg Exp $ */
/*-
* Copyright (c) 2009, 2010 Joerg Sonnenberger <[email protected]>
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: unzip.c,v 1.18 2011/09/06 18:42:13 joerg Exp $");
+__RCSID("$NetBSD: unzip.c,v 1.19 2011/09/06 18:43:41 joerg Exp $");
#include <sys/queue.h>
#include <sys/stat.h>
@@ -945,7 +945,7 @@
if (t_opt) {
if (error_count > 0) {
- errorx("%jd checksum error(s) found.", error_count);
+ errorx("%ju checksum error(s) found.", error_count);
}
else {
printf("No errors detected in compressed data of %s.\n",