Module Name: src Committed By: christos Date: Tue Jul 17 00:42:48 UTC 2018
Modified Files: src/sys/dev/tprof: tprof_armv8.c Log Message: use PRI?64 instead of ll? To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/tprof/tprof_armv8.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/tprof/tprof_armv8.c diff -u src/sys/dev/tprof/tprof_armv8.c:1.3 src/sys/dev/tprof/tprof_armv8.c:1.4 --- src/sys/dev/tprof/tprof_armv8.c:1.3 Mon Jul 16 06:57:21 2018 +++ src/sys/dev/tprof/tprof_armv8.c Mon Jul 16 20:42:48 2018 @@ -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 <jmcne...@invisible.ca> @@ -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 @@ armv8_pmu_start(const tprof_param_t *par 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; }