Module Name: src
Committed By: tsutsui
Date: Fri Nov 27 10:50:04 UTC 2009
Modified Files:
src/bin/sh: expand.c
Log Message:
Use %zu in printf format for size_t value.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/bin/sh/expand.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/expand.c
diff -u src/bin/sh/expand.c:1.82 src/bin/sh/expand.c:1.83
--- src/bin/sh/expand.c:1.82 Sun Jan 18 00:30:54 2009
+++ src/bin/sh/expand.c Fri Nov 27 10:50:04 2009
@@ -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]);