diff options
| author | 2022-02-08 22:39:09 -0800 | |
|---|---|---|
| committer | 2022-02-09 14:33:32 +0100 | |
| commit | dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca (patch) | |
| tree | b8fbaa3d9c5b09410d7e71d3ca35d848051096c3 /include | |
| parent | Merge branch 'libbpf: Add syscall-specific variant of BPF_KPROBE' (diff) | |
| download | linux-dev-dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca.tar.xz linux-dev-dc37dc617fabfb1c3a16d49f5d8cc20e9e3608ca.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
