Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1723518
| From | Colin King <colin.king@canonical.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" |
| Date | 2017-08-30 19:20 +0200 |
| Message-ID | <ukeOK-2Hq-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Colin Ian King <colin.king@canonical.com>
Trivial fix to typos in printf error messages:
"conenct" -> "connect"
"listeen" -> "listen"
thanks to Daniel Borkmann for spotting one of these mistakes
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
tools/testing/selftests/bpf/test_maps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/bpf/test_maps.c b/tools/testing/selftests/bpf/test_maps.c
index 7059bb315a10..4acc772a28c0 100644
--- a/tools/testing/selftests/bpf/test_maps.c
+++ b/tools/testing/selftests/bpf/test_maps.c
@@ -504,7 +504,7 @@ static void test_sockmap(int tasks, void *data)
}
err = listen(sfd[i], 32);
if (err < 0) {
- printf("failed to listeen\n");
+ printf("failed to listen\n");
goto out;
}
}
@@ -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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" Colin King <colin.king@canonical.com> - 2017-08-30 19:20 +0200
Re: [PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" John Fastabend <john.fastabend@gmail.com> - 2017-08-30 19:40 +0200
Re: [PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" Daniel Borkmann <daniel@iogearbox.net> - 2017-08-30 20:50 +0200
Re: [PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" Shuah Khan <shuah@kernel.org> - 2017-08-30 22:20 +0200
Re: [PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" Daniel Borkmann <daniel@iogearbox.net> - 2017-08-30 22:30 +0200
Re: [PATCH][net-next][V3] bpf: test_maps: fix typos, "conenct" and "listeen" David Miller <davem@davemloft.net> - 2017-08-31 00:40 +0200
csiph-web