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>
This commit is contained in:
Daniel Baluta 2013-03-20 19:28:56 +02:00 committed by David S. Miller
parent 70386d40e1
commit 4c1d8d0617

View file

@ -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);
}
}