aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf_internal.h
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2019-12-19 13:07:14 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-12-19 16:08:46 +0100
commit12dd14b230b3c742b80272ecb8a83cdf824625ca (patch)
treede0429f72dfcd6f7295d41c1e3affaeb55a51523 /tools/lib/bpf/libbpf_internal.h
parentMerge branch 'bpf-riscv-jit-improvements' (diff)
downloadlinux-dev-12dd14b230b3c742b80272ecb8a83cdf824625ca.tar.xz
linux-dev-12dd14b230b3c742b80272ecb8a83cdf824625ca.zip
libbpf: Add missing newline in opts validation macro
The error log output in the opts validation macro was missing a newline. Fixes: 2ce8450ef5a3 ("libbpf: add bpf_object__open_{file, mem} w/ extensible opts") Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20191219120714.928380-1-toke@redhat.com
Diffstat (limited to '')
-rw-r--r--tools/lib/bpf/libbpf_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf_internal.h b/tools/lib/bpf/libbpf_internal.h
index 7d71621bb7e8..8c3afbd97747 100644
--- a/tools/lib/bpf/libbpf_internal.h
+++ b/tools/lib/bpf/libbpf_internal.h
@@ -76,7 +76,7 @@ static inline bool libbpf_validate_opts(const char *opts,
for (i = opts_sz; i < user_sz; i++) {
if (opts[i]) {
- pr_warn("%s has non-zero extra bytes",
+ pr_warn("%s has non-zero extra bytes\n",
type_name);
return false;
}