Commit b18a4d95 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

socket-tcpbuf: fix the message

The number of bytes, which were sent and received, should be
exchanged in the message
Thanked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 6da52216
...@@ -222,7 +222,7 @@ int main(int argc, char **argv) ...@@ -222,7 +222,7 @@ int main(int argc, char **argv)
rcv_size = clean_sk_buf(fd); rcv_size = clean_sk_buf(fd);
if (ret != rcv_size) { if (ret != rcv_size) {
fail("The child sent %d bytes, but the parent received %d bytes\n", rcv_size, ret); fail("The child sent %d bytes, but the parent received %d bytes\n", ret, rcv_size);
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment