diff options
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r-- | tools/perf/builtin-stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index 3e80aa10cfd8..5fe0edb1de5d 100644 --- a/tools/perf/builtin-stat.c +++ b/tools/perf/builtin-stat.c | |||
@@ -593,7 +593,7 @@ static int __run_perf_stat(int argc, const char **argv) | |||
593 | 593 | ||
594 | if (perf_evlist__apply_filters(evsel_list)) { | 594 | if (perf_evlist__apply_filters(evsel_list)) { |
595 | error("failed to set filter with %d (%s)\n", errno, | 595 | error("failed to set filter with %d (%s)\n", errno, |
596 | strerror(errno)); | 596 | strerror_r(errno, msg, sizeof(msg))); |
597 | return -1; | 597 | return -1; |
598 | } | 598 | } |
599 | 599 | ||