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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just some copy-and-paste mixups.

Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>
---
 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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]