summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Baluta <dbaluta@ixiacom.com>2013-03-20 19:28:56 +0200
committerDavid S. Miller <davem@davemloft.net>2013-03-20 13:42:41 -0400
commit4c1d8d0617a39c8325a7c2fd80ac14bf40fd8cc6 (patch)
tree6352aa44ba42e0bc3675aff0056e426086565f57 /tools
parent70386d40e19eeff8696f2593755e78f6f7fa9e6d (diff)
downloadtalos-obmc-linux-4c1d8d0617a39c8325a7c2fd80ac14bf40fd8cc6.tar.gz
talos-obmc-linux-4c1d8d0617a39c8325a7c2fd80ac14bf40fd8cc6.zip
net: fix psock_fanout selftest bind error message
Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
-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 f765f09931bd..226e5e33105a 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