Commit 40978ef3 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

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

Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Acked-by: 's avatarAndrew Vagin <avagin@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f42bc583
...@@ -36,7 +36,7 @@ static void read_safe(int fd, void *buf, size_t size) ...@@ -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);
} }
} }
......
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