libbpf: Stringify errno in log messages in libbpf.c
authorMykyta Yatsenko <yatsenko@meta.com>
Mon, 11 Nov 2024 21:29:17 +0000 (21:29 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 12 Nov 2024 04:29:45 +0000 (20:29 -0800)
commit271abf041cb354ce99df33ce1f99db79faf90477
treeb1d69acf078e90247d6781dfcfb2dc47baab091b
parent1633a83bf993fa1eb8df26ec6043f77a2fe03245
libbpf: Stringify errno in log messages in libbpf.c

Convert numeric error codes into the string representations in log
messages in libbpf.c.

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241111212919.368971-3-mykyta.yatsenko5@gmail.com
tools/lib/bpf/libbpf.c