aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/str_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/str_error.c')
-rw-r--r--tools/lib/bpf/str_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/str_error.c b/tools/lib/bpf/str_error.c
index b8798114a357..3d211b642cb5 100644
--- a/tools/lib/bpf/str_error.c
+++ b/tools/lib/bpf/str_error.c
@@ -9,7 +9,7 @@
9 * libc, while checking strerror_r() return to avoid having to check this in 9 * libc, while checking strerror_r() return to avoid having to check this in
10 * all places calling it. 10 * all places calling it.
11 */ 11 */
12char *str_error(int err, char *dst, int len) 12char *libbpf_strerror_r(int err, char *dst, int len)
13{ 13{
14 int ret = strerror_r(err, dst, len); 14 int ret = strerror_r(err, dst, len);
15 if (ret) 15 if (ret)