From: Cole Robinson Date: Thu, 7 Jun 2012 21:37:13 +0000 (-0400) Subject: Fix missing ) in 2 strings X-Git-Tag: v0.9.11.4~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84daddb0b9ed66f65e1db0239cb319b65eeeb8d6;p=thirdparty%2Flibvirt.git Fix missing ) in 2 strings https://bugzilla.redhat.com/show_bug.cgi?id=801656 (cherry picked from commit 9ec6f818deae2205ebb9790d852ebd673ba667fc) --- diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c index 6515efefdf..60cd888a4e 100644 --- a/src/conf/network_conf.c +++ b/src/conf/network_conf.c @@ -1200,7 +1200,7 @@ virNetworkDefParseXML(xmlXPathContextPtr ctxt) case VIR_NETWORK_FORWARD_PASSTHROUGH: if (def->bridge) { virNetworkReportError(VIR_ERR_XML_ERROR, - _("bridge name not allowed in %s mode (network '%s'"), + _("bridge name not allowed in %s mode (network '%s')"), virNetworkForwardTypeToString(def->forwardType), def->name); goto error; diff --git a/src/conf/nwfilter_conf.c b/src/conf/nwfilter_conf.c index 58115926aa..07edf19fd3 100644 --- a/src/conf/nwfilter_conf.c +++ b/src/conf/nwfilter_conf.c @@ -2529,7 +2529,7 @@ virNWFilterDefParse(virConnectPtr conn ATTRIBUTE_UNUSED, virNWFilterDefPtr def = NULL; xmlDocPtr xml; - if ((xml = virXMLParse(filename, xmlStr, _("(nwfilter_definition")))) { + if ((xml = virXMLParse(filename, xmlStr, _("(nwfilter_definition)")))) { def = virNWFilterDefParseNode(xml, xmlDocGetRootElement(xml)); xmlFreeDoc(xml); }