2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

compel: plugins,std -- Use sys_recvfrom instead of recv

prologue.h defines sys_recv() macro - let's use it by now

Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Dmitry Safonov
2016-09-21 23:54:27 +03:00
committed by Andrei Vagin
parent a1d931c354
commit 048c5073cf

View File

@@ -40,7 +40,7 @@ static int fini_socket(void)
if (ret)
goto err;
ret = sys_recvfrom(ctl_socket, buf, sizeof(buf), MSG_WAITALL, 0, 0);
ret = sys_recv(ctl_socket, buf, sizeof(buf), MSG_WAITALL);
if (ret)
goto err;
err: