summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-06-23 10:42:07 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2020-06-24 15:53:53 +0200
commit135c783f4794fbdeace4a969dea6eabd27f8a501 (patch)
treed4fbd75063192d2d2f05676ac6b31856f54983c9 /tools/lib
parenttools, bpftool: Fix variable shadowing in emit_obj_refs_json() (diff)
downloadlinux-135c783f4794fbdeace4a969dea6eabd27f8a501.tar.xz
linux-135c783f4794fbdeace4a969dea6eabd27f8a501.zip
libbpf: Fix spelling mistake "kallasyms" -> "kallsyms"
There is a spelling mistake in a pr_warn message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20200623084207.149253-1-colin.king@canonical.com
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/bpf/libbpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c
index 18461deb1b19..deea27aadcef 100644
--- a/tools/lib/bpf/libbpf.c
+++ b/tools/lib/bpf/libbpf.c
@@ -5741,7 +5741,7 @@ static int bpf_object__read_kallsyms_file(struct bpf_object *obj)
if (ret == EOF && feof(f))
break;
if (ret != 3) {
- pr_warn("failed to read kallasyms entry: %d\n", ret);
+ pr_warn("failed to read kallsyms entry: %d\n", ret);
err = -EINVAL;
goto out;
}