Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/unzip error_count is unsigned, so use %ju
details: https://anonhg.NetBSD.org/src/rev/ad491429e1c4
branches: trunk
changeset: 769342:ad491429e1c4
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Sep 06 18:43:41 2011 +0000
description:
error_count is unsigned, so use %ju
diffstat:
usr.bin/unzip/unzip.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7b073cfec56e -r ad491429e1c4 usr.bin/unzip/unzip.c
--- a/usr.bin/unzip/unzip.c Tue Sep 06 18:42:13 2011 +0000
+++ b/usr.bin/unzip/unzip.c Tue Sep 06 18:43:41 2011 +0000
@@ -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 <joerg%NetBSD.org@localhost>
@@ -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",
Home |
Main Index |
Thread Index |
Old Index