diff options
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 40088a5848d6..6ab58cc99d53 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -298,7 +298,7 @@ try_again: | |||
298 | int err = errno; | 298 | int err = errno; |
299 | 299 | ||
300 | if (err == EPERM || err == EACCES) { | 300 | if (err == EPERM || err == EACCES) { |
301 | ui__warning_paranoid(); | 301 | ui__error_paranoid(); |
302 | exit(EXIT_FAILURE); | 302 | exit(EXIT_FAILURE); |
303 | } else if (err == ENODEV && cpu_list) { | 303 | } else if (err == ENODEV && cpu_list) { |
304 | die("No such device - did you specify" | 304 | die("No such device - did you specify" |