summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/net.c
diff options
context:
space:
mode:
authorQuentin Monnet <quentin.monnet@netronome.com>2019-08-15 15:32:16 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-08-15 22:06:46 -0700
commit22c349e8db89df86804d3ba23cef037ccd44a8bf (patch)
tree5ebe8de78801959fe55644505c7a647926172881 /tools/bpf/bpftool/net.c
parent9def249dc8409ffc1f5a1d7195f1c462f2b49c07 (diff)
downloadlinux-22c349e8db89df86804d3ba23cef037ccd44a8bf.tar.gz
linux-22c349e8db89df86804d3ba23cef037ccd44a8bf.tar.bz2
linux-22c349e8db89df86804d3ba23cef037ccd44a8bf.zip
tools: bpftool: fix format strings and arguments for jsonw_printf()
There are some mismatches between format strings and arguments passed to jsonw_printf() in the BTF dumper for bpftool, which seems harmless but may result in warnings if the "__printf()" attribute is used correctly for jsonw_printf(). Let's fix relevant format strings and type cast. Fixes: b12d6ec09730 ("bpf: btf: add btf print functionality") Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions