[CRIU] [PATCH 3/5] zdtm/live/static/socket-tcpbuf: fix error message
Kir Kolyshkin
kir at openvz.org
Wed Oct 21 16:06:14 PDT 2015
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
test/zdtm/live/static/socket-tcpbuf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm/live/static/socket-tcpbuf.c b/test/zdtm/live/static/socket-tcpbuf.c
index 58c3b34..535d379 100644
--- a/test/zdtm/live/static/socket-tcpbuf.c
+++ b/test/zdtm/live/static/socket-tcpbuf.c
@@ -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)
{
if (write(fd, buf, size) != size) {
- pr_perror("Unable to write from %d", fd);
+ pr_perror("Unable to write to %d", fd);
exit(1);
}
}
--
2.4.3
More information about the CRIU
mailing list