Signed-off-by: Daniel Baluta <[email protected]>
---
.../testing/selftests/net-afpacket/psock_fanout.c | 2 +-
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);
}
}
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/