projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
virt: Change '_Bool' to standard 'bool' type
[collectd.git]
/
src
/
intel_pmu.c
diff --git
a/src/intel_pmu.c
b/src/intel_pmu.c
index
fd2bd6f
..
957004d
100644
(file)
--- a/
src/intel_pmu.c
+++ b/
src/intel_pmu.c
@@
-192,7
+192,8
@@
static void pmu_dump_config(void) {
DEBUG(PMU_PLUGIN ": software_events : %d", g_ctx.sw_events);
for (size_t i = 0; i < g_ctx.hw_events_count; i++) {
DEBUG(PMU_PLUGIN ": software_events : %d", g_ctx.sw_events);
for (size_t i = 0; i < g_ctx.hw_events_count; i++) {
- DEBUG(PMU_PLUGIN ": hardware_events[%zu]: %s", i, g_ctx.hw_events[i]);
+ DEBUG(PMU_PLUGIN ": hardware_events[%" PRIsz "]: %s", i,
+ g_ctx.hw_events[i]);
}
}
}
}