diff options
| author | Quentin Monnet <[email protected]> | 2019-08-15 14:32:17 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-08-16 05:06:46 +0000 |
| commit | ed4a3983cd3eb93aaf80de8d8a36efed808acff2 (patch) | |
| tree | e237f47c2c63e900178a4d48d3549dec0bc1f6dd /tools/bpf/bpftool/net.c | |
| parent | tools: bpftool: fix format strings and arguments for jsonw_printf() (diff) | |
| download | kernel-ed4a3983cd3eb93aaf80de8d8a36efed808acff2.tar.gz kernel-ed4a3983cd3eb93aaf80de8d8a36efed808acff2.zip | |
tools: bpftool: fix argument for p_err() in BTF do_dump()
The last argument passed to one call to the p_err() function is not
correct, it should be "*argv" instead of "**argv". This may lead to a
segmentation fault error if BTF id cannot be parsed correctly. Let's fix
this.
Fixes: c93cc69004dt ("bpftool: add ability to dump BTF types")
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
