diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-27 11:01:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-27 11:01:17 -0300 |
commit | 59913aabb06cb13f1bb09d4726a1a00d43d6cff2 (patch) | |
tree | bd92fef00b2519a28853ff4be6e4f5a0fecf29e7 /tools/perf/builtin-help.c | |
parent | 86e474ff870aded90c4ffa3f488cb5c093188ca4 (diff) | |
download | op-kernel-dev-59913aabb06cb13f1bb09d4726a1a00d43d6cff2.zip op-kernel-dev-59913aabb06cb13f1bb09d4726a1a00d43d6cff2.tar.gz |
perf help: Use pr_warning()
Complete the switch to using te pr_{warning,error,etc} error reporting
facilities.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-3l9gr6237b4aqyo0rsspixe2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-help.c')
-rw-r--r-- | tools/perf/builtin-help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-help.c b/tools/perf/builtin-help.c index ff53e98..64a1010 100644 --- a/tools/perf/builtin-help.c +++ b/tools/perf/builtin-help.c @@ -259,7 +259,7 @@ static int add_man_viewer_info(const char *var, const char *value) return add_man_viewer_cmd(name, subkey - name, value); } - warning("'%s': unsupported man viewer sub key.", subkey); + pr_warning("'%s': unsupported man viewer sub key.", subkey); return 0; } @@ -347,7 +347,7 @@ static void exec_viewer(const char *name, const char *page) else if (info) exec_man_cmd(info, page); else - warning("'%s': unknown man viewer.", name); + pr_warning("'%s': unknown man viewer.", name); } static int show_man_page(const char *perf_cmd) |