Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723229 > unrolled thread

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

Started byColin King <colin.king@canonical.com>
First post2017-08-30 13:50 +0200
Last post2017-08-31 04:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH][next] bpf: test_maps: fix typo "conenct" -> "connext" Colin King <colin.king@canonical.com> - 2017-08-30 13:50 +0200
    Re: [PATCH][next] bpf: test_maps: fix typo "conenct" -> "connext" Joe Perches <joe@perches.com> - 2017-08-31 04:40 +0200

#1723229 — [PATCH][next] bpf: test_maps: fix typo "conenct" -> "connext"

FromColin King <colin.king@canonical.com>
Date2017-08-30 13:50 +0200
Subject[PATCH][next] bpf: test_maps: fix typo "conenct" -> "connext"
Message-ID<uk9Fo-7Lr-23@gated-at.bofh.it>
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to typo in printf error message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 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

[toc] | [next] | [standalone]


#1723777

FromJoe Perches <joe@perches.com>
Date2017-08-31 04:40 +0200
Message-ID<uknyG-8ei-7@gated-at.bofh.it>
In reply to#1723229
On Wed, 2017-08-30 at 12:47 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>

connext->connect typo in patch subject

> Trivial fix to typo in printf error message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  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;
>  		}
>  	}

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web