Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/vndcompress 'unsigned long' prints with %lu, not %zu.
details: https://anonhg.NetBSD.org/src/rev/88aff8f56d1d
branches: trunk
changeset: 786634:88aff8f56d1d
user: riz <riz%NetBSD.org@localhost>
date: Sat May 04 15:27:39 2013 +0000
description:
'unsigned long' prints with %lu, not %zu.
diffstat:
usr.bin/vndcompress/vndcompress.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b7e09fcc00a -r 88aff8f56d1d usr.bin/vndcompress/vndcompress.c
--- a/usr.bin/vndcompress/vndcompress.c Sat May 04 14:34:13 2013 +0000
+++ b/usr.bin/vndcompress/vndcompress.c Sat May 04 15:27:39 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vndcompress.c,v 1.10 2013/05/04 14:29:48 riastradh Exp $ */
+/* $NetBSD: vndcompress.c,v 1.11 2013/05/04 15:27:39 riz Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: vndcompress.c,v 1.10 2013/05/04 14:29:48 riastradh Exp $");
+__RCSID("$NetBSD: vndcompress.c,v 1.11 2013/05/04 15:27:39 riz Exp $");
#include <sys/endian.h>
@@ -815,7 +815,7 @@
err(1, "write block %"PRIu32, blkno);
assert(n_written >= 0);
if ((uint32_t)n_written != complen)
- errx(1, "partial write of block %"PRIu32": %zd <= %zu", blkno,
+ errx(1, "partial write of block %"PRIu32": %zd <= %lu", blkno,
n_written, complen);
return n_written;
Home |
Main Index |
Thread Index |
Old Index