1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

xen: do not report a write-to-Xen-daemon failure as a read failure

* src/xen/xend_internal.c (wr_sync): Correct the diagnostic.
This commit is contained in:
Jim Meyering 2010-01-15 10:22:08 +01:00
parent 9933c4f2f6
commit 0276587287

View File

@ -198,7 +198,7 @@ wr_sync(virConnectPtr xend, int fd, void *buffer, size_t size, int do_read)
"%s", _("failed to read from Xen Daemon"));
else
virXendError(xend, VIR_ERR_INTERNAL_ERROR,
"%s", _("failed to read from Xen Daemon"));
"%s", _("failed to write to Xen Daemon"));
return (-1);
}