aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/stackmap.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-01-02 17:48:37 -0500
committerDaniel Borkmann <daniel@iogearbox.net>2018-01-04 06:28:46 -0500
commitb4fac96d9a672def4e24c1858adb7e9351471815 (patch)
tree7ad59b3c1ad348e95e1daab86b444eb0968bbff6 /kernel/bpf/stackmap.c
parent6ebe6dbd6886af07b102aca42e44edbee94a22d9 (diff)
tools: bpftool: remove new lines from errors
It's a little bit unusual for kernel style, but we add the new line character to error strings inside the p_err() function. We do this because new lines at the end of error strings will break JSON output. Fix a few p_err("..\n") which snuck in recently. Fixes: 5ccda64d38cc ("bpftool: implement cgroup bpf operations") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions