]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests/bpf: Fix spelling mistake: "unpriviliged" -> "unprivileged"
authorColin Ian King <colin.i.king@gmail.com>
Mon, 23 May 2022 11:56:04 +0000 (12:56 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 23 May 2022 19:59:57 +0000 (21:59 +0200)
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
tools/testing/selftests/bpf/prog_tests/unpriv_bpf_disabled.c

index 2800185179cf0a3479e8b5a0d26299035c99f17c..1ed3cc2092dbae8cc2d22595e7acf912e85fafbf 100644 (file)
@@ -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;
        }