Searched hist:d2973ffd (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H A D | struct_ops.c | d2973ffd Sun Nov 20 05:26:18 CST 2022 Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com> bpftool: fix error message when function can't register struct_ops
It is expected that errno be passed to strerror(). This also cleans this part of code from using libbpf_get_error().
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com> Acked-by: Yonghong Song <yhs@fb.com> Suggested-by: Quentin Monnet <quentin@isovalent.com> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/r/20221120112515.38165-4-sahid.ferdjaoui@industrialdiscipline.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
|