Skip to content

Commit

Permalink
bpf: test: fix spelling mistake "REUSEEPORT" -> "REUSEPORT"
Browse files Browse the repository at this point in the history
Trivial fix to spelling mistake in error message

Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Colin Ian King authored and davem330 committed Aug 14, 2018
1 parent b19b463 commit 26a1ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/test_maps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 26a1ccc

Please sign in to comment.