mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
Fix some error strings in xml.c
Just some copy-and-paste mixups.
This commit is contained in:
1 parent
c4602255c7
commit
f6a5e8f785
2 files changed
+6
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user