Commit 12dd14b2 authored by Toke Høiland-Jørgensen's avatar Toke Høiland-Jørgensen Committed by Daniel Borkmann

libbpf: Add missing newline in opts validation macro

The error log output in the opts validation macro was missing a newline.

Fixes: 2ce8450e ("libbpf: add bpf_object__open_{file, mem} w/ extensible opts")
Signed-off-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191219120714.928380-1-toke@redhat.com
parent 7800a3d5
...@@ -76,7 +76,7 @@ static inline bool libbpf_validate_opts(const char *opts, ...@@ -76,7 +76,7 @@ static inline bool libbpf_validate_opts(const char *opts,
for (i = opts_sz; i < user_sz; i++) { for (i = opts_sz; i < user_sz; i++) {
if (opts[i]) { if (opts[i]) {
pr_warn("%s has non-zero extra bytes", pr_warn("%s has non-zero extra bytes\n",
type_name); type_name);
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment