From: Daniel Baluta Date: Wed, 20 Mar 2013 17:28:56 +0000 (+0200) Subject: net: fix psock_fanout selftest bind error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c1d8d0617a39c8325a7c2fd80ac14bf40fd8cc6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: fix psock_fanout selftest bind error message Signed-off-by: Daniel Baluta Signed-off-by: David S. Miller --- 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); } }