From 40978ef32cf81ab2c38bb9c6d180c05f73e6efe5 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 21 Oct 2015 16:06:14 -0700 Subject: [PATCH] zdtm/live/static/socket-tcpbuf: fix error message Signed-off-by: Kir Kolyshkin Acked-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- 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 58c3b3419..535d3793d 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); } }