mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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:
parent
70386d40e1
commit
4c1d8d0617
@ -97,7 +97,7 @@ static void pair_udp_open(int fds[], uint16_t port)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (connect(fds[0], (void *) &daddr, sizeof(daddr))) {
|
if (connect(fds[0], (void *) &daddr, sizeof(daddr))) {
|
||||||
perror("bind");
|
perror("connect");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user