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 f765f09931bda76f9906805153a3a2655572c51e..226e5e33105aaa68d788cc37c53435807822a1a0 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);
        }
 }