]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: fix 'make syntax-check' failure
authorEric Blake <eblake@redhat.com>
Thu, 29 Jul 2010 19:27:58 +0000 (13:27 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 29 Jul 2010 19:28:32 +0000 (13:28 -0600)
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.

src/lxc/veth.c

index acf28c71fcdf2fdfa2ff354a743009b8bfa1cfc3..5f038d664d354809ccf880d77402928d75b1ea4a 100644 (file)
@@ -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,