aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2020-06-23 08:42:07 +0000
committerDaniel Borkmann <[email protected]>2020-06-24 13:53:53 +0000
commit135c783f4794fbdeace4a969dea6eabd27f8a501 (patch)
treed4fbd75063192d2d2f05676ac6b31856f54983c9 /tools/lib/bpf/libbpf.c
parenttools, bpftool: Fix variable shadowing in emit_obj_refs_json() (diff)
downloadkernel-135c783f4794fbdeace4a969dea6eabd27f8a501.tar.gz
kernel-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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
-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;
}