2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

zdtm/live/static/socket-tcpbuf: fix error message

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Acked-by: Andrew Vagin <avagin@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Kir Kolyshkin
2015-10-21 16:06:14 -07:00
committed by Pavel Emelyanov
parent f42bc58311
commit 40978ef32c

View File

@@ -36,7 +36,7 @@ static void read_safe(int fd, void *buf, size_t size)
static void write_safe(int fd, void *buf, size_t size) static void write_safe(int fd, void *buf, size_t size)
{ {
if (write(fd, buf, size) != size) { if (write(fd, buf, size) != size) {
pr_perror("Unable to write from %d", fd); pr_perror("Unable to write to %d", fd);
exit(1); exit(1);
} }
} }