Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/tprof use PRI?64 instead of ll?



details:   https://anonhg.NetBSD.org/src/rev/3d0d9a07ba88
branches:  trunk
changeset: 324734:3d0d9a07ba88
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 17 00:42:48 2018 +0000

description:
use PRI?64 instead of ll?

diffstat:

 sys/dev/tprof/tprof_armv8.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5c709c7e5200 -r 3d0d9a07ba88 sys/dev/tprof/tprof_armv8.c
--- a/sys/dev/tprof/tprof_armv8.c       Tue Jul 17 00:42:06 2018 +0000
+++ b/sys/dev/tprof/tprof_armv8.c       Tue Jul 17 00:42:48 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tprof_armv8.c,v 1.3 2018/07/16 10:57:21 jmcneill Exp $ */
+/* $NetBSD: tprof_armv8.c,v 1.4 2018/07/17 00:42:48 christos Exp $ */
 
 /*-
  * Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tprof_armv8.c,v 1.3 2018/07/16 10:57:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tprof_armv8.c,v 1.4 2018/07/17 00:42:48 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -166,7 +166,7 @@
        uint64_t xc;
 
        if (!armv8_pmu_event_implemented(param->p_event)) {
-               printf("%s: event 0x%#llx not implemented on this CPU\n",
+               printf("%s: event %#" PRIx64 " not implemented on this CPU\n",
                    __func__, param->p_event);
                return EINVAL;
        }



Home | Main Index | Thread Index | Old Index