aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorColin Ian King2022-05-23 12:56:04 +0100
committerDaniel Borkmann2022-05-23 21:59:57 +0200
commitf9a3eca4bc0452a7079282d1ad87d65cb3463f0a (patch)
tree97a422564a543bbae2a7634723a0dcdc06880e16 /tools
parent4050764cbaa25760aab40857f723393c07898474 (diff)
selftests/bpf: Fix spelling mistake: "unpriviliged" -> "unprivileged"
There are spelling mistakes in ASSERT messages. Fix these. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220523115604.49942-1-colin.i.king@gmail.com
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c b/tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
index 2800185179cf..1ed3cc2092db 100644
--- a/tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
+++ b/tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c
@@ -261,10 +261,10 @@ void test_unpriv_bpf_disabled(void)
if (ret == -EPERM) {
/* if unprivileged_bpf_disabled=1, we get -EPERM back; that's okay. */
if (!ASSERT_OK(strcmp(unprivileged_bpf_disabled_orig, "1"),
- "unpriviliged_bpf_disabled_on"))
+ "unprivileged_bpf_disabled_on"))
goto cleanup;
} else {
- if (!ASSERT_OK(ret, "set unpriviliged_bpf_disabled"))
+ if (!ASSERT_OK(ret, "set unprivileged_bpf_disabled"))
goto cleanup;
}