Module Name: src
Committed By: kre
Date: Sat Oct 28 04:50:38 UTC 2017
Modified Files:
src/bin/sh: jobs.c
Log Message:
Another %zu for size_t (this one in a DEBUG mode trace call, so it
doesn't actually ever bother anyone in practice.)
To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/bin/sh/jobs.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/jobs.c
diff -u src/bin/sh/jobs.c:1.93 src/bin/sh/jobs.c:1.94
--- src/bin/sh/jobs.c:1.93 Wed Oct 25 08:50:05 2017
+++ src/bin/sh/jobs.c Sat Oct 28 04:50:38 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: jobs.c,v 1.93 2017/10/25 08:50:05 martin Exp $ */
+/* $NetBSD: jobs.c,v 1.94 2017/10/28 04:50:38 kre 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.93 2017/10/25 08:50:05 martin Exp $");
+__RCSID("$NetBSD: jobs.c,v 1.94 2017/10/28 04:50:38 kre Exp $");
#endif
#endif /* not lint */
@@ -385,7 +385,7 @@ restartjob(struct job *jp)
for (ps = jp->ps, i = jp->nprocs ; --i >= 0 ; ps++) {
if (WIFSTOPPED(ps->status)) {
VTRACE(DBG_JOBS, (
- "restartjob: [%jd] pid %d status change"
+ "restartjob: [%zu] pid %d status change"
" from %#x (stopped) to -1 (running)\n",
(size_t)(jp-jobtab+1), ps->pid, ps->status));
ps->status = -1;