[PATCH]][next] selftests: nettest: fix spelling mistake: "potocol" -> "protocol"
From: Colin King
Date: Mon Aug 05 2019 - 06:52:17 EST
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
There is a spelling mistake in an error messgae. Fix it.
Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
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;
--
2.20.1