Skip to content

Commit

Permalink
tools/bpf: fix spelling mistake "memeory" -> "memory"
Browse files Browse the repository at this point in the history
The CHECK message contains a spelling mistake, fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
  • Loading branch information
Colin Ian King authored and Daniel Borkmann committed Nov 22, 2018
1 parent 8d75839 commit ab85b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/bpf/test_btf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit ab85b01

Please sign in to comment.