net: fix psock_fanout selftest bind error message
authorDaniel Baluta <dbaluta@ixiacom.com>
Wed, 20 Mar 2013 17:28:56 +0000 (19:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 17:42:41 +0000 (13:42 -0400)
Signed-off-by: Daniel Baluta <dbaluta@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net-afpacket/psock_fanout.c

index f765f09..226e5e3 100644 (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);
        }
 }