diff options
| author | Michal Suchanek <[email protected]> | 2021-06-04 11:24:48 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-06-08 20:02:10 +0000 |
| commit | edc0571c5f67c7e24958149a8ec6a904ca84840b (patch) | |
| tree | 5ea81c272d5e1dfed8d5708785be171bc4975ed5 /tools/lib/bpf/netlink.c | |
| parent | tools/bpftool: Fix cross-build (diff) | |
| download | kernel-edc0571c5f67c7e24958149a8ec6a904ca84840b.tar.gz kernel-edc0571c5f67c7e24958149a8ec6a904ca84840b.zip | |
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/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
