diff options
author | 2019-08-15 15:32:18 +0100 | |
---|---|---|
committer | 2019-08-15 22:06:46 -0700 | |
commit | 8a15d5ced8c626c0331974c7281c1d651f7b0d83 (patch) | |
tree | a0ebea1dd41671c24896cc05f2ca9009fc008f9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools: bpftool: fix argument for p_err() in BTF do_dump() (diff) | |
download | linux-dev-8a15d5ced8c626c0331974c7281c1d651f7b0d83.tar.xz linux-dev-8a15d5ced8c626c0331974c7281c1d651f7b0d83.zip |
tools: bpftool: fix format string for p_err() in query_flow_dissector()
The format string passed to one call to the p_err() function in
query_flow_dissector() does not match the value that should be printed,
resulting in some garbage integer being printed instead of
strerror(errno) if /proc/self/ns/net cannot be open. Let's fix the
format string.
Fixes: 7f0c57fec80f ("bpftool: show flow_dissector attachment status")
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions