diff options
author | 2017-11-28 17:44:31 -0800 | |
---|---|---|
committer | 2017-11-30 02:09:29 +0100 | |
commit | 0d954eeb99eee63964a07a68fcac61e1df8488e7 (patch) | |
tree | a3cb1a13f721bb9dbe3f899d4a8e6332c6c83b3b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools: bpftool: make error message from getopt_long() JSON-friendly (diff) | |
download | linux-dev-0d954eeb99eee63964a07a68fcac61e1df8488e7.tar.xz linux-dev-0d954eeb99eee63964a07a68fcac61e1df8488e7.zip |
tools: bpftool: remove spurious line break from error message
The end-of-line character inside the string would break JSON compliance.
Remove it, `p_err()` already adds a '\n' character for plain output
anyway.
Fixes: 9a5ab8bf1d6d ("tools: bpftool: turn err() and info() macros into functions")
Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions