perf help: Make check_emacsclient_version to check strbuf APIs
authorMasami Hiramatsu <mhiramat@kernel.org>
Tue, 10 May 2016 05:47:17 +0000 (14:47 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 May 2016 14:56:14 +0000 (11:56 -0300)
commitb72ca4039099e953f1ea2dbd58c201b14feb6605
tree4d40c9077dbabedd468a00a63627ae6769a8449f
parentbf4d5f25c90bf2eca8671f2fc4e3d15919cd7f9c
perf help: Make check_emacsclient_version to check strbuf APIs

Make check_emacsclient_version() to check the return value of strbuf
APIs so that it can handle errors in strbuf.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20160510054716.6158.11755.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-help.c