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 for size_t
details: https://anonhg.NetBSD.org/src/rev/1d8699cc235e
branches: trunk
changeset: 357067:1d8699cc235e
user: martin <martin%NetBSD.org@localhost>
date: Wed Oct 25 08:50:05 2017 +0000
description:
Use %zu for size_t
diffstat:
bin/sh/jobs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c6e0bd3fbc23 -r 1d8699cc235e bin/sh/jobs.c
--- a/bin/sh/jobs.c Wed Oct 25 08:21:41 2017 +0000
+++ b/bin/sh/jobs.c Wed Oct 25 08:50:05 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: jobs.c,v 1.92 2017/10/25 05:42:56 kre Exp $ */
+/* $NetBSD: jobs.c,v 1.93 2017/10/25 08:50:05 martin Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: jobs.c,v 1.92 2017/10/25 05:42:56 kre Exp $");
+__RCSID("$NetBSD: jobs.c,v 1.93 2017/10/25 08:50:05 martin Exp $");
#endif
#endif /* not lint */
@@ -744,7 +744,7 @@
jp = getjob(*argptr, 0);
if (job) {
- out1fmt("%%%jd\n", (size_t)(jp - jobtab + 1));
+ out1fmt("%%%zu\n", (size_t)(jp - jobtab + 1));
return 0;
}
if (pg) {
Home |
Main Index |
Thread Index |
Old Index