Commit f9a3eca4 authored by Colin Ian King's avatar Colin Ian King Committed by Daniel Borkmann

selftests/bpf: Fix spelling mistake: "unpriviliged" -> "unprivileged"

There are spelling mistakes in ASSERT messages. Fix these.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220523115604.49942-1-colin.i.king@gmail.com
parent 4050764c
...@@ -261,10 +261,10 @@ void test_unpriv_bpf_disabled(void) ...@@ -261,10 +261,10 @@ void test_unpriv_bpf_disabled(void)
if (ret == -EPERM) { if (ret == -EPERM) {
/* if unprivileged_bpf_disabled=1, we get -EPERM back; that's okay. */ /* if unprivileged_bpf_disabled=1, we get -EPERM back; that's okay. */
if (!ASSERT_OK(strcmp(unprivileged_bpf_disabled_orig, "1"), if (!ASSERT_OK(strcmp(unprivileged_bpf_disabled_orig, "1"),
"unpriviliged_bpf_disabled_on")) "unprivileged_bpf_disabled_on"))
goto cleanup; goto cleanup;
} else { } else {
if (!ASSERT_OK(ret, "set unpriviliged_bpf_disabled")) if (!ASSERT_OK(ret, "set unprivileged_bpf_disabled"))
goto cleanup; goto cleanup;
} }
......
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