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

[libvirt] [PATCH] build: fix 'make syntax-check' failure



src/lxc/veth.c:150:        VIR_DEBUG(_("Failed to delete '%s' (%d)"),
src/lxc/veth.c:188:            VIR_DEBUG(_("Failed to disable '%s' (%d)"),
maint.mk: do not mark these strings for translation

* src/lxc/veth.c (vethDelete, vethInterfaceUpOrDown): Don't
translate VIR_DEBUG.
---

Pushing as obvious.

 src/lxc/veth.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lxc/veth.c b/src/lxc/veth.c
index acf28c7..5f038d6 100644
--- a/src/lxc/veth.c
+++ b/src/lxc/veth.c
@@ -1,6 +1,7 @@
 /*
  * veth.c: Tools for managing veth pairs
  *
+ * Copyright (C) 2010 Red Hat, Inc.
  * Copyright IBM Corp. 2008
  *
  * See COPYING.LIB for the License of this software
@@ -147,7 +148,7 @@ int vethDelete(const char *veth)
          * Prevent overwriting an error log which may be set
          * where an actual failure occurs.
          */
-        VIR_DEBUG(_("Failed to delete '%s' (%d)"),
+        VIR_DEBUG("Failed to delete '%s' (%d)",
                   veth, WEXITSTATUS(cmdResult));
         rc = -1;
     }
@@ -185,7 +186,7 @@ int vethInterfaceUpOrDown(const char* veth, int upOrDown)
              * Prevent overwriting an error log which may be set
              * where an actual failure occurs.
              */
-            VIR_DEBUG(_("Failed to disable '%s' (%d)"),
+            VIR_DEBUG("Failed to disable '%s' (%d)",
                       veth, WEXITSTATUS(cmdResult));
         else
             vethError(VIR_ERR_INTERNAL_ERROR,
-- 
1.7.2


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