Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh Another %zu for size_t (this one in a DEBUG mode trac...



details:   https://anonhg.NetBSD.org/src/rev/c374cc697d75
branches:  trunk
changeset: 827428:c374cc697d75
user:      kre <kre%NetBSD.org@localhost>
date:      Sat Oct 28 04:50:38 2017 +0000

description:
Another %zu for size_t (this one in a DEBUG mode trace call, so it
doesn't actually ever bother anyone in practice.)

diffstat:

 bin/sh/jobs.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c309ce26570b -r c374cc697d75 bin/sh/jobs.c
--- a/bin/sh/jobs.c     Sat Oct 28 04:16:04 2017 +0000
+++ b/bin/sh/jobs.c     Sat Oct 28 04:50:38 2017 +0000
@@ -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 @@
        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;



Home | Main Index | Thread Index | Old Index