]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: Fix another __u64 cast in printf
authorAndrii Nakryiko <andriin@fb.com>
Fri, 4 Sep 2020 04:16:10 +0000 (21:16 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 4 Sep 2020 12:35:12 +0000 (14:35 +0200)
commitc125dac923741305e23e68317718cdf8d846db98
tree5b834fc3d12e6b5d3a01fec27ce7719958c54f4d
parentdde5eb95cab29afdf6cce8ed3c5f99ed7bfac877
libbpf: Fix another __u64 cast in printf

Another issue of __u64 needing either %lu or %llu, depending on the
architecture. Fix with cast to `unsigned long long`.

Fixes: 113b4ef4f165 ("libbpf: Add multi-prog section support for struct_ops")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200904041611.1695163-1-andriin@fb.com
tools/lib/bpf/libbpf.c