diff options
Diffstat (limited to 'tools/perf/builtin-sched.c')
| -rw-r--r-- | tools/perf/builtin-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index afa057666c2a..0dfe8df2ab9b 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c | |||
| @@ -494,7 +494,7 @@ force_again: | |||
| 494 | } | 494 | } |
| 495 | pr_err("Error: sys_perf_event_open() syscall returned " | 495 | pr_err("Error: sys_perf_event_open() syscall returned " |
| 496 | "with %d (%s)\n%s", fd, | 496 | "with %d (%s)\n%s", fd, |
| 497 | strerror_r(errno, sbuf, sizeof(sbuf)), info); | 497 | str_error_r(errno, sbuf, sizeof(sbuf)), info); |
| 498 | exit(EXIT_FAILURE); | 498 | exit(EXIT_FAILURE); |
| 499 | } | 499 | } |
| 500 | return fd; | 500 | return fd; |
