Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Use %zu in printf format for size_t value.
details: https://anonhg.NetBSD.org/src/rev/8910db2e7e09
branches: trunk
changeset: 749342:8910db2e7e09
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Fri Nov 27 10:50:04 2009 +0000
description:
Use %zu in printf format for size_t value.
diffstat:
bin/sh/expand.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 08f532fe8c1d -r 8910db2e7e09 bin/sh/expand.c
--- a/bin/sh/expand.c Fri Nov 27 10:23:16 2009 +0000
+++ b/bin/sh/expand.c Fri Nov 27 10:50:04 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expand.c,v 1.82 2009/01/18 00:30:54 lukem Exp $ */
+/* $NetBSD: expand.c,v 1.83 2009/11/27 10:50:04 tsutsui Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)expand.c 8.5 (Berkeley) 5/15/95";
#else
-__RCSID("$NetBSD: expand.c,v 1.82 2009/01/18 00:30:54 lukem Exp $");
+__RCSID("$NetBSD: expand.c,v 1.83 2009/11/27 10:50:04 tsutsui Exp $");
#endif
#endif /* not lint */
@@ -1565,7 +1565,7 @@
out1c('\0');
for (i = 1, len = 0; i < argc; i++)
len += strlen(argv[i]);
- out1fmt("%zd", len);
+ out1fmt("%zu", len);
out1c('\0');
for (i = 1; i < argc; i++) {
out1str(argv[i]);
Home |
Main Index |
Thread Index |
Old Index