aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-03-08 12:06:30 +0000
committerDaniel P. Berrange <berrange@redhat.com>2016-03-10 17:10:18 +0000
commit5151d23e65e1ffc50c880d9fdcfd70bfa33255c5 (patch)
tree25db5902747c6e54b246f1882c3162475db4a159 /io
parent294bbbb4252ab5ff42d0e2c09f209c0bd7eb9748 (diff)
io: fix copy+paste mistake in socket error message
s/write/read/ in the error message reported after readmsg() fails Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'io')
-rw-r--r--io/channel-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/channel-socket.c b/io/channel-socket.c
index bf66a78235..5f087e68d1 100644
--- a/io/channel-socket.c
+++ b/io/channel-socket.c
@@ -569,7 +569,7 @@ static ssize_t qio_channel_socket_readv(QIOChannel *ioc,
goto retry;
} else {
error_setg_errno(errp, socket_error(),
- "Unable to write to socket");
+ "Unable to read from socket");
return -1;
}
}