diff --git a/src/util/virxml.c b/src/util/virxml.c index a03a747e603cee33da3832939f9af3219fefa3a6..d1926f4605962ebb8f127e6664f1af307772bf3d 100644 --- a/src/util/virxml.c +++ b/src/util/virxml.c @@ -847,7 +847,8 @@ virXMLParseHelper(int domcode, if (virGetLastErrorCode() == VIR_ERR_OK) { virGenericReportError(domcode, VIR_ERR_XML_ERROR, - "%s", _("failed to parse xml document")); + _("failed to parse xml document '%s'"), + filename ? filename : "[inline data]"); } goto cleanup; }