On Fri, Jan 15, 2010 at 10:41:49AM +0100, Jim Meyering wrote: > FYI, pushed as obvious... > > >From 02765872876ba8a820a5047f664da8a7b870b7b9 Mon Sep 17 00:00:00 2001 > From: Jim Meyering <meyering@xxxxxxxxxx> > Date: Fri, 15 Jan 2010 10:22:08 +0100 > Subject: [PATCH] xen: do not report a write-to-Xen-daemon failure as a read failure > > * src/xen/xend_internal.c (wr_sync): Correct the diagnostic. > --- > src/xen/xend_internal.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c > index d9bfa15..9c5127f 100644 > --- a/src/xen/xend_internal.c > +++ b/src/xen/xend_internal.c > @@ -196,11 +196,11 @@ wr_sync(virConnectPtr xend, int fd, void *buffer, size_t size, int do_read) > if (do_read) > virXendError(xend, VIR_ERR_INTERNAL_ERROR, > "%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); > } > > offset += len; ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list