tools/bpf: fix spelling mistake "memeory" -> "memory"
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Nov 2018 10:13:45 +0000 (10:13 +0000)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 22 Nov 2018 11:15:54 +0000 (12:15 +0100)
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>
tools/testing/selftests/bpf/test_btf.c

index 7b1b160d6e67b5b891c32d97c8f7c9b79a28d8ec..bcbda7037840ef117861d3aa68f95c771f1e9c27 100644 (file)
@@ -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;
        }