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
This commit is contained in:
parent
4050764cba
commit
f9a3eca4bc
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user