diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-26 08:02:55 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-26 13:12:01 -0200 |
commit | b8631e6ebb3aa033e21d68dd75029aceb96b79cd (patch) | |
tree | 08dc191dab34721847e1212ac32c00bcffc1d6bd /tools/perf/builtin-top.c | |
parent | ae55795ef2d9ba71d46e4111b87a4d0cde93abea (diff) | |
download | op-kernel-dev-b8631e6ebb3aa033e21d68dd75029aceb96b79cd.zip op-kernel-dev-b8631e6ebb3aa033e21d68dd75029aceb96b79cd.tar.gz |
perf ui: Rename ui__warning_paranoid to ui__error_paranoid
As it will exit the tool after the user is notified.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-vy06m8xzlvkhr8tk7nylhbng@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index d2fc754..31aa82c 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -871,7 +871,7 @@ try_again: int err = errno; if (err == EPERM || err == EACCES) { - ui__warning_paranoid(); + ui__error_paranoid(); goto out_err; } /* |