From f6a5e8f7852ffbbdca59818f9d928006d5e3436c Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 13 Feb 2009 19:12:45 +0000 Subject: [PATCH] Fix some error strings in xml.c Just some copy-and-paste mixups. --- ChangeLog | 4 ++++ src/xml.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f09e317599..6845ec172f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Feb 13 19:04:45 IST 2009 Mark McLoughlin + + * src/xml.c: fix some error strings + Fri Feb 13 19:04:22 IST 2009 Mark McLoughlin * src/xml.h: kill some non-existent functions diff --git a/src/xml.c b/src/xml.c index ad77ecae2f..9c27a106d7 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;