diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-08-13 10:00:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-14 13:43:27 -0400 |
commit | 26a1ccc6c117be8e33e0410fce8c5298b0015b99 (patch) | |
tree | ba2e972c39ccc167ac14468b5d007a78454db118 /tools | |
parent | b19b46346f483ae055fa027cb2d5c2ca91484b91 (diff) |
bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT"
Trivial fix to spelling mistake in error message
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/bpf/test_maps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
1191 | 1191 | ||
1192 | err = setsockopt(fd64, SOL_SOCKET, SO_REUSEPORT, | 1192 | err = setsockopt(fd64, SOL_SOCKET, SO_REUSEPORT, |
1193 | &optval, sizeof(optval)); | 1193 | &optval, sizeof(optval)); |
1194 | CHECK(err == -1, "setsockopt(SO_REUSEEPORT)", | 1194 | CHECK(err == -1, "setsockopt(SO_REUSEPORT)", |
1195 | "err:%d errno:%d\n", err, errno); | 1195 | "err:%d errno:%d\n", err, errno); |
1196 | 1196 | ||
1197 | /* reuseport_array does not allow unbound sk */ | 1197 | /* reuseport_array does not allow unbound sk */ |