diff mbox series

][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"

Message ID 20190805105211.27229-1-colin.king@canonical.com (mailing list archive)
State Mainlined
Commit a9e21bea1f815c2ec917ecc0efe0a7049c825d5b
Headers show
Series ][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol" | expand

Commit Message

Colin King Aug. 5, 2019, 10:52 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in an error messgae. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/testing/selftests/net/nettest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

shuah Aug. 5, 2019, 3:04 p.m. UTC | #1
On 8/5/19 4:52 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in an error messgae. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   tools/testing/selftests/net/nettest.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/net/nettest.c b/tools/testing/selftests/net/nettest.c
> index 9278f8460d75..83515e5ea4dc 100644
> --- a/tools/testing/selftests/net/nettest.c
> +++ b/tools/testing/selftests/net/nettest.c
> @@ -1627,7 +1627,7 @@ int main(int argc, char *argv[])
>   				args.protocol = pe->p_proto;
>   			} else {
>   				if (str_to_uint(optarg, 0, 0xffff, &tmp) != 0) {
> -					fprintf(stderr, "Invalid potocol\n");
> +					fprintf(stderr, "Invalid protocol\n");
>   					return 1;
>   				}
>   				args.protocol = tmp;
> 

Assuming this will go through net tree

Acked-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah
David Miller Aug. 5, 2019, 5:28 p.m. UTC | #2
From: Colin King <colin.king@canonical.com>
Date: Mon,  5 Aug 2019 11:52:11 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in an error messgae. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied to net-next.
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/nettest.c b/tools/testing/selftests/net/nettest.c
index 9278f8460d75..83515e5ea4dc 100644
--- a/tools/testing/selftests/net/nettest.c
+++ b/tools/testing/selftests/net/nettest.c
@@ -1627,7 +1627,7 @@  int main(int argc, char *argv[])
 				args.protocol = pe->p_proto;
 			} else {
 				if (str_to_uint(optarg, 0, 0xffff, &tmp) != 0) {
-					fprintf(stderr, "Invalid potocol\n");
+					fprintf(stderr, "Invalid protocol\n");
 					return 1;
 				}
 				args.protocol = tmp;