Just some copy-and-paste mixups.
Signed-off-by: Mark McLoughlin <markmc(a)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