diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2022-02-08 22:39:09 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-02-09 14:33:32 +0100 |
commit | dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca (patch) | |
tree | b8fbaa3d9c5b09410d7e71d3ca35d848051096c3 /tools/bpf | |
parent | 3caa7d2e2e9b69bf294b55c4a5a0b6673fdf5b00 (diff) | |
download | linux-dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca.tar.bz2 |
libbpf: Fix compilation warning due to mismatched printf format
On ppc64le architecture __s64 is long int and requires %ld. Cast to
ssize_t and use %zd to avoid architecture-specific specifiers.
Fixes: 4172843ed4a3 ("libbpf: Fix signedness bug in btf_dump_array_data()")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220209063909.1268319-1-andrii@kernel.org
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions