aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/test_btf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/test_btf.c b/tools/testing/selftests/bpf/test_btf.c
index 7b1b160d6e67..bcbda7037840 100644
--- a/tools/testing/selftests/bpf/test_btf.c
+++ b/tools/testing/selftests/bpf/test_btf.c
@@ -2573,7 +2573,7 @@ static int do_test_file(unsigned int test_num)
}
func_info = malloc(info.func_info_cnt * rec_size);
- if (CHECK(!func_info, "out of memeory")) {
+ if (CHECK(!func_info, "out of memory")) {
err = -1;
goto done;
}
@@ -3299,7 +3299,7 @@ static int do_test_func_type(int test_num)
}
func_info = malloc(info.func_info_cnt * rec_size);
- if (CHECK(!func_info, "out of memeory")) {
+ if (CHECK(!func_info, "out of memory")) {
err = -1;
goto done;
}