From 02765872876ba8a820a5047f664da8a7b870b7b9 Mon Sep 17 00:00:00 2001 From: Jim Meyering 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xen/xend_internal.c b/src/xen/xend_internal.c index d9bfa15711..9c5127f26a 100644 --- a/src/xen/xend_internal.c +++ b/src/xen/xend_internal.c @@ -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); }