[libvirt] [PATCH] Fix some error strings in xml.c

Mark McLoughlin markmc at redhat.com
Fri Feb 13 12:06:11 UTC 2009


Just some copy-and-paste mixups.

Signed-off-by: Mark McLoughlin <markmc at redhat.com>
---
 src/xml.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xml.c b/src/xml.c
index ad77eca..9c27a10 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -140,7 +140,7 @@ virXPathLong(virConnectPtr conn,
 
     if ((ctxt == NULL) || (xpath == NULL) || (value == NULL)) {
         virXMLError(conn, VIR_ERR_INTERNAL_ERROR,
-                    "%s", _("Invalid parameter to virXPathNumber()"));
+                    "%s", _("Invalid parameter to virXPathLong()"));
         return (-1);
     }
     relnode = ctxt->node;
@@ -195,7 +195,7 @@ virXPathULong(virConnectPtr conn,
 
     if ((ctxt == NULL) || (xpath == NULL) || (value == NULL)) {
         virXMLError(conn, VIR_ERR_INTERNAL_ERROR,
-                    "%s", _("Invalid parameter to virXPathNumber()"));
+                    "%s", _("Invalid parameter to virXPathULong()"));
         return (-1);
     }
     relnode = ctxt->node;
-- 
1.6.0.6




More information about the libvir-list mailing list