diff mbox series

[bpf-next] bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT"

Message ID 20180813140032.2208-1-colin.king@canonical.com (mailing list archive)
State New
Headers show
Series [bpf-next] bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT" | expand

Commit Message

Colin King Aug. 13, 2018, 2 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Trivial fix to spelling mistake in 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 mbox series

Patch

diff --git a/tools/testing/selftests/bpf/test_maps.c b/tools/testing/selftests/bpf/test_maps.c
index 4b7c74f5faa7..6f54f84144a0 100644
--- a/tools/testing/selftests/bpf/test_maps.c
+++ b/tools/testing/selftests/bpf/test_maps.c
@@ -1191,7 +1191,7 @@  static void prepare_reuseport_grp(int type, int map_fd,
 
 		err = setsockopt(fd64, SOL_SOCKET, SO_REUSEPORT,
 				 &optval, sizeof(optval));
-		CHECK(err == -1, "setsockopt(SO_REUSEEPORT)",
+		CHECK(err == -1, "setsockopt(SO_REUSEPORT)",
 		      "err:%d errno:%d\n", err, errno);
 
 		/* reuseport_array does not allow unbound sk */