Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko <andrii@xxxxxxxxxx>: On Wed, 28 Sep 2022 16:09:32 +0800 you wrote: > strerror() expects a positive errno, however variable err will never be > positive when an error occurs. This causes bpftool to output too many > "unknown error", even a simple "file not exist" error can not get an > accurate message. > > This patch fixed all "strerror(err)" patterns in bpftool. > Specially in btf.c#L823, hashmap__append() is an internal function of > libbpf and will not change errno, so there's a little difference. > Some libbpf_get_error() calls are kept for return values. > > [...] Here is the summary with links: - [v2] bpftool: Fix error message of strerror https://git.kernel.org/bpf/bpf-next/c/3ca2fb497440 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html