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>
This commit is contained in:
parent
294bbbb425
commit
5151d23e65
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user