Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Use PRIu64 for "uint64_t tp_refcnt".



details:   https://anonhg.NetBSD.org/src/rev/9046716397d7
branches:  trunk
changeset: 838429:9046716397d7
user:      hannken <hannken%NetBSD.org@localhost>
date:      Thu Jan 17 10:18:52 2019 +0000

description:
Use PRIu64 for "uint64_t tp_refcnt".

diffstat:

 sys/kern/kern_threadpool.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 79b71e1c51a0 -r 9046716397d7 sys/kern/kern_threadpool.c
--- a/sys/kern/kern_threadpool.c        Thu Jan 17 08:53:17 2019 +0000
+++ b/sys/kern/kern_threadpool.c        Thu Jan 17 10:18:52 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_threadpool.c,v 1.14 2018/12/29 04:39:14 thorpej Exp $     */
+/*     $NetBSD: kern_threadpool.c,v 1.15 2019/01/17 10:18:52 hannken Exp $     */
 
 /*-
  * Copyright (c) 2014, 2018 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_threadpool.c,v 1.14 2018/12/29 04:39:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_threadpool.c,v 1.15 2019/01/17 10:18:52 hannken Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -364,7 +364,7 @@
        TAILQ_FOREACH(thread, &pool->tp_idle_threads, tpt_entry)
                cv_broadcast(&thread->tpt_cv);
        while (0 < pool->tp_refcnt) {
-               TP_LOG(("%s: draining %u references...\n", __func__,
+               TP_LOG(("%s: draining %" PRIu64 " references...\n", __func__,
                    pool->tp_refcnt));
                cv_wait(&pool->tp_overseer.tpt_cv, &pool->tp_lock);
        }



Home | Main Index | Thread Index | Old Index