summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorSahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>2022-11-20 11:26:18 +0000
committerAlexei Starovoitov <ast@kernel.org>2022-11-20 16:17:46 -0800
commitd2973ffd25c2295055349212ca26c18929e5e9f5 (patch)
treea2b3184fc9691be6d9b417165dfec0e60507b73b /.rustfmt.toml
parent989f285159b84831c54d277112dcf803da51e722 (diff)
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>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions