OSDN Git Service

][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"
authorColin Ian King <colin.king@canonical.com>
Mon, 5 Aug 2019 10:52:11 +0000 (11:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Aug 2019 17:27:53 +0000 (10:27 -0700)
There is a spelling mistake in an error messgae. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/nettest.c

index 9278f84..83515e5 100644 (file)
@@ -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;