[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] Fix some error strings in xml.c
- From: Mark McLoughlin <markmc redhat com>
- To: libvir-list redhat com
- Cc:
- Subject: [libvirt] [PATCH] Fix some error strings in xml.c
- Date: Fri, 13 Feb 2009 12:06:11 +0000
Just some copy-and-paste mixups.
Signed-off-by: Mark McLoughlin <markmc 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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]