perf strlist: load() should return a negative errno
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Jul 2015 14:08:34 +0000 (11:08 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Jul 2015 14:08:34 +0000 (11:08 -0300)
commitab7322af8c620987ed058e39506c97e5f2d3c65c
treec06ec2f7a82bc633e2f802066c751e13c959851b
parent3d5d68aabf4ff47cfb447ad90448ce50531be7f5
perf strlist: load() should return a negative errno

To match what its users return.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-jntpe2lwg1fxn1bku7uccan0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/strlist.c