diff options
| author | Quentin Monnet <[email protected]> | 2019-08-15 14:32:16 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-08-16 05:06:46 +0000 |
| commit | 22c349e8db89df86804d3ba23cef037ccd44a8bf (patch) | |
| tree | 5ebe8de78801959fe55644505c7a647926172881 /tools/bpf/bpftool/net.c | |
| parent | tools: bpftool: fix arguments for p_err() in do_event_pipe() (diff) | |
| download | kernel-22c349e8db89df86804d3ba23cef037ccd44a8bf.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions
