summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/net-afpacket/psock_fanout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net-afpacket/psock_fanout.c b/tools/testing/selftests/net-afpacket/psock_fanout.c
index f765f09..226e5e3 100644
--- a/tools/testing/selftests/net-afpacket/psock_fanout.c
+++ b/tools/testing/selftests/net-afpacket/psock_fanout.c
@@ -97,7 +97,7 @@ static void pair_udp_open(int fds[], uint16_t port)
exit(1);
}
if (connect(fds[0], (void *) &daddr, sizeof(daddr))) {
- perror("bind");
+ perror("connect");
exit(1);
}
}
OpenPOWER on IntegriCloud