]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix some error strings in xml.c
authorMark McLoughlin <markmc@redhat.com>
Fri, 13 Feb 2009 19:12:45 +0000 (19:12 +0000)
committerMark McLoughlin <markmc@redhat.com>
Fri, 13 Feb 2009 19:12:45 +0000 (19:12 +0000)
Just some copy-and-paste mixups.

ChangeLog
src/xml.c

index f09e317599b37d27bd9240d09639b3d662a56f57..6845ec172ff507bb4f45bf390a8c7c96ea0fbb18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Feb 13 19:04:45 IST 2009 Mark McLoughlin <markmc@redhat.com>
+
+       * src/xml.c: fix some error strings
+
 Fri Feb 13 19:04:22 IST 2009 Mark McLoughlin <markmc@redhat.com>
 
        * src/xml.h: kill some non-existent functions
index ad77ecae2fad85731553cd5472483db6e15f0bec..9c27a106d75c6c77c430e999f26fa503472a4553 100644 (file)
--- 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;