aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorMichal Suchanek <[email protected]>2021-06-04 13:24:48 +0200
committerDaniel Borkmann <[email protected]>2021-06-08 22:02:10 +0200
commitedc0571c5f67c7e24958149a8ec6a904ca84840b (patch)
tree5ea81c272d5e1dfed8d5708785be171bc4975ed5 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent0779890fed7817725f399d6ec85730e08ebfdeee (diff)
libbpf: Fix pr_warn type warnings on 32bit
The printed value is ptrdiff_t and is formatted wiht %ld. This works on 64bit but produces a warning on 32bit. Fix the format specifier to %td. Fixes: 67234743736a ("libbpf: Generate loader program out of BPF ELF file.") Signed-off-by: Michal Suchanek <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions