tools lib subcmd: Use str_error_r()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Jul 2016 18:26:50 +0000 (15:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:30 +0000 (15:20 -0300)
commit07eebccbca2c21f32b5142f1a55b3b6818c54116
tree320d0ddad6e4aa26c7e9f324c5109333dee35562
parent61a6445e463a3152590352d8634131955f531c6e
tools lib subcmd: Use str_error_r()

To make it portable to non-glibc systems, that follow the XSI variant
instead of the GNU specific one that gets in place when _GNU_SOURCE is
defined.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-bozcszy93tpgw9ad6qm3dhpx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/subcmd/run-command.c
tools/objtool/Build