mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -569,7 +569,7 @@ static ssize_t qio_channel_socket_readv(QIOChannel *ioc,
|
||||||
goto retry;
|
goto retry;
|
||||||
} else {
|
} else {
|
||||||
error_setg_errno(errp, socket_error(),
|
error_setg_errno(errp, socket_error(),
|
||||||
"Unable to write to socket");
|
"Unable to read from socket");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue