tools lib api fs: 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:29 +0000 (15:20 -0300)
commitb31e3e3316a78e4a2cf23be8e0d47e5e5a025bde
treec8445fb4cc9ad733493458ce2cdb0d1bbb1e8cf5
parentc3cec9e68f12d0046f991378391172958b5315d9
tools lib api fs: 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: Namhyung Kim <namhyung@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-mixgnh3iyajuqogn2opsocdy@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/Makefile
tools/lib/api/fs/tracing_path.c