[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Fix missing ) in 2 strings



https://bugzilla.redhat.com/show_bug.cgi?id=801656

Signed-off-by: Cole Robinson <crobinso redhat com>
---
 src/conf/network_conf.c  |    2 +-
 src/conf/nwfilter_conf.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c
index 6515efe..60cd888 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 0d6d0b6..8729f9c 100644
--- a/src/conf/nwfilter_conf.c
+++ b/src/conf/nwfilter_conf.c
@@ -2663,7 +2663,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);
     }
-- 
1.7.7.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]