diff options
Diffstat (limited to 'tools/perf/ui/hist.c')
-rw-r--r-- | tools/perf/ui/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index be7a17fec889..30457c65980c 100644 --- a/tools/perf/ui/hist.c +++ b/tools/perf/ui/hist.c | |||
@@ -230,7 +230,7 @@ static int hpp__width_fn(struct perf_hpp_fmt *fmt, | |||
230 | } | 230 | } |
231 | 231 | ||
232 | static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 232 | static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |
233 | struct hists *hists) | 233 | struct hists *hists, int line __maybe_unused) |
234 | { | 234 | { |
235 | int len = hpp__width_fn(fmt, hpp, hists); | 235 | int len = hpp__width_fn(fmt, hpp, hists); |
236 | return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); | 236 | return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); |