Skip to content

Commit

Permalink
selftests/bpf: Fix trivial typo in fentry_fexit.c
Browse files Browse the repository at this point in the history
The "ipv6" word in assertion message should be "fentry_fexit".

Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Acked-by: Song Liu <songliubraving@fb.com>
  • Loading branch information
Xu Kuohai authored and Kernel Patches Daemon committed May 23, 2022
1 parent b3903ac commit 1ae3ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/bpf/prog_tests/fentry_fexit.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ void test_fentry_fexit(void)

prog_fd = fexit_skel->progs.test1.prog_fd;
err = bpf_prog_test_run_opts(prog_fd, &topts);
ASSERT_OK(err, "ipv6 test_run");
ASSERT_OK(topts.retval, "ipv6 test retval");
ASSERT_OK(err, "fentry_fexit test_run");
ASSERT_OK(topts.retval, "fentry_fexit test retval");

fentry_res = (__u64 *)fentry_skel->bss;
fexit_res = (__u64 *)fexit_skel->bss;
Expand Down

0 comments on commit 1ae3ec7

Please sign in to comment.