lkml.org 
[lkml]   [2018]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH][next] tools/bpf: fix spelling mistake "memeory" -> "memory"
Date
From: Colin Ian King <colin.king@canonical.com>

The CHECK message contains a spelling mistake, fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/bpf/test_btf.c | 4 ++--
1 file 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;
}
--
2.19.1
\
 
 \ /
  Last update: 2018-11-22 11:15    [W:0.042 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site