[PATCH][next][V2] bpf: test_maps: fix typo "conenct" -> "connect"

Subsystems: bpf [general] (safe dynamic programs and tools), bpf [selftests] (test runners & infrastructure), kernel selftest framework, the rest · Maintainers: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Eduard Zingerman, Kumar Kartikeya Dwivedi, Shuah Khan, Shuah Khan, Linus Torvalds

STALE3345d

3 messages, 2 authors, 2017-08-30 · open the first message on its own page

[PATCH][next][V2] bpf: test_maps: fix typo "conenct" -> "connect"

From: Colin King <hidden>
Date: 2017-08-30 11:47:35

From: Colin Ian King <redacted>

Trivial fix to typo in printf error message

Signed-off-by: Colin Ian King <redacted>
---
 tools/testing/selftests/bpf/test_maps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/test_maps.c b/tools/testing/selftests/bpf/test_maps.c
index 7059bb315a10..8fdaf2e21c8a 100644
--- a/tools/testing/selftests/bpf/test_maps.c
+++ b/tools/testing/selftests/bpf/test_maps.c
@@ -525,7 +525,7 @@ static void test_sockmap(int tasks, void *data)
 		addr.sin_port = htons(ports[i - 2]);
 		err = connect(sfd[i], (struct sockaddr *)&addr, sizeof(addr));
 		if (err) {
-			printf("failed to conenct\n");
+			printf("failed to connect\n");
 			goto out;
 		}
 	}
-- 
2.14.1

Re: [PATCH][next][V2] bpf: test_maps: fix typo "conenct" -> "connect"

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2017-08-30 13:47:20

On 08/30/2017 01:47 PM, Colin King wrote:
From: Colin Ian King <redacted>

Trivial fix to typo in printf error message

Signed-off-by: Colin Ian King <redacted>
For net-next; looks like there is also one in "failed to listeen\n".
Want to fix this one as well ? ;)

Acked-by: Daniel Borkmann <daniel@iogearbox.net>

Re: [PATCH][next][V2] bpf: test_maps: fix typo "conenct" -> "connect"

From: Colin Ian King <hidden>
Date: 2017-08-30 17:09:57

On 30/08/17 14:46, Daniel Borkmann wrote:
On 08/30/2017 01:47 PM, Colin King wrote:
quoted
From: Colin Ian King <redacted>

Trivial fix to typo in printf error message

Signed-off-by: Colin Ian King <redacted>
For net-next; looks like there is also one in "failed to listeen\n".
Want to fix this one as well ? ;)
Ah, missed that one. Thanks.
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help