summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/bind_wildcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/net/bind_wildcard.c')
-rw-r--r--tools/testing/selftests/net/bind_wildcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/bind_wildcard.c b/tools/testing/selftests/net/bind_wildcard.c
index 58edfc15d28b..e7ebe72e879d 100644
--- a/tools/testing/selftests/net/bind_wildcard.c
+++ b/tools/testing/selftests/net/bind_wildcard.c
@@ -100,7 +100,7 @@ void bind_sockets(struct __test_metadata *_metadata,
TEST_F(bind_wildcard, v4_v6)
{
bind_sockets(_metadata, self,
- (struct sockaddr *)&self->addr4, sizeof(self->addr6),
+ (struct sockaddr *)&self->addr4, sizeof(self->addr4),
(struct sockaddr *)&self->addr6, sizeof(self->addr6));
}