diff options
-rw-r--r-- | tools/perf/builtin-report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 5df829f5bbf4..74776558ddfb 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -304,7 +304,7 @@ static size_t hists__fprintf_nr_sample_events(struct hists *self, | |||
304 | if (evname != NULL) | 304 | if (evname != NULL) |
305 | ret += fprintf(fp, " of event '%s'", evname); | 305 | ret += fprintf(fp, " of event '%s'", evname); |
306 | 306 | ||
307 | ret += fprintf(fp, "\n# Event count (approx.): %lu", nr_events); | 307 | ret += fprintf(fp, "\n# Event count (approx.): %" PRIu64, nr_events); |
308 | return ret + fprintf(fp, "\n#\n"); | 308 | return ret + fprintf(fp, "\n#\n"); |
309 | } | 309 | } |
310 | 310 | ||