[libvirt] [PATCHv2 4/5] conf: Clean up few error messages
Peter Krempa
pkrempa at redhat.com
Thu Sep 26 08:59:03 UTC 2013
---
src/conf/domain_conf.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index b18f72e..192f3c3 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -11377,8 +11377,7 @@ virDomainDefParseXML(xmlDocPtr xml,
int val = virDomainFeatureTypeFromString((const char *)nodes[i]->name);
if (val < 0) {
virReportError(VIR_ERR_INTERNAL_ERROR,
- _("unexpected feature %s"),
- nodes[i]->name);
+ _("unexpected feature '%s'"), nodes[i]->name);
goto error;
}
@@ -11388,7 +11387,7 @@ virDomainDefParseXML(xmlDocPtr xml,
int eoi;
if ((eoi = virDomainFeatureStateTypeFromString(tmp)) <= 0) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("unknown value for attribute eoi: %s"),
+ _("unknown value for attribute eoi: '%s'"),
tmp);
goto error;
}
--
1.8.3.2
More information about the libvir-list
mailing list