perf help: Use pr_warning()
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 59913aabb06cb13f1bb09d4726a1a00d43d6cff2 Gitweb: http://git.kernel.org/tip/59913aabb06cb13f1bb09d4726a1a00d43d6cff2 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 27 Jun 2017 11:01:17 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 27 Jun 2017 11:01:17 -0300
perf help: Use pr_warning()
Complete the switch to using te pr_{warning,error,etc} error reporting facilities.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-help.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/builtin-help.c +2 -2
@@ -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)