]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
xen: do not report a write-to-Xen-daemon failure as a read failure
authorJim Meyering <meyering@redhat.com>
Fri, 15 Jan 2010 09:22:08 +0000 (10:22 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 15 Jan 2010 09:22:18 +0000 (10:22 +0100)
* src/xen/xend_internal.c (wr_sync): Correct the diagnostic.

src/xen/xend_internal.c

index d9bfa157119402124937a693765dd945a28dc6fd..9c5127f26a5178e97c8300675651a17085c36b9c 100644 (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);
         }