error_count is unsigned, so use %ju

This commit is contained in:
joerg 2011-09-06 18:43:41 +00:00
parent 8f7d1f2721
commit 60bd81b021
1 changed files with 3 additions and 3 deletions

View File

@ -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>
@ -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 @@ unzip(const char *fn)
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",