Skip to content

Commit

Permalink
selftests/bpf: Fix spelling mistake "get_signaure_size" -> "get_signa…
Browse files Browse the repository at this point in the history
…ture_size"

There is a spelling mistake in an ASSERT_GT message. Fix it.

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/20231204093940.2611954-1-colin.i.king@gmail.com
  • Loading branch information
ColinIanKing authored and borkmann committed Dec 4, 2023
1 parent 5bd90cd commit 153de60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/prog_tests/verify_pkcs7_sig.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static void test_pkcs7_sig_fsverity(void)
if (!ASSERT_OK_PTR(skel, "test_sig_in_xattr__open"))
goto out;
ret = get_signature_size(sig_path);
if (!ASSERT_GT(ret, 0, "get_signaure_size"))
if (!ASSERT_GT(ret, 0, "get_signature_size"))
goto out;
skel->bss->sig_size = ret;
skel->bss->user_keyring_serial = syscall(__NR_request_key, "keyring",
Expand Down

0 comments on commit 153de60

Please sign in to comment.