From: "Daniel P. Berrange" <berra...@redhat.com>

The virnetdevtap.c and viruri.c files had two error report
messages which were not annotated with _(...)

Signed-off-by: Daniel P. Berrange <berra...@redhat.com>
---
 src/util/virnetdevtap.c |    4 ++--
 src/util/viruri.c       |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/virnetdevtap.c b/src/util/virnetdevtap.c
index e46dd36..7562840 100644
--- a/src/util/virnetdevtap.c
+++ b/src/util/virnetdevtap.c
@@ -306,8 +306,8 @@ int virNetDevTapCreateInBridgePort(const char *brname,
              * address" error logs from the kernel.
              */
             virNetDevTapError(VIR_ERR_CONFIG_UNSUPPORTED,
-                              "Unable to use MAC address starting with "
-                              "reserved value 0xFE - 
'%02X:%02X:%02X:%02X:%02X:%02X' - ",
+                              _("Unable to use MAC address starting with "
+                                "reserved value 0xFE - 
'%02X:%02X:%02X:%02X:%02X:%02X' - "),
                               macaddr->addr[0], macaddr->addr[1],
                               macaddr->addr[2], macaddr->addr[3],
                               macaddr->addr[4], macaddr->addr[5]);
diff --git a/src/util/viruri.c b/src/util/viruri.c
index a41f345..8a25f3a 100644
--- a/src/util/viruri.c
+++ b/src/util/viruri.c
@@ -156,7 +156,7 @@ virURIParse(const char *uri)
     if (!xmluri) {
         /* libxml2 does not tell us what failed. Grr :-( */
         virURIReportError(VIR_ERR_INTERNAL_ERROR,
-                          "Unable to parse URI %s", uri);
+                          _("Unable to parse URI %s"), uri);
         return NULL;
     }
 
-- 
1.7.10.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to