[libvirt] [PATCH 2/5] maint: remove _(...) from VIR_WARN arg manually

Jim Meyering jim at meyering.net
Wed May 19 14:47:17 UTC 2010


From: Jim Meyering <meyering at redhat.com>

* src/util/uuid.c (virUUIDGenerate): Remove _(...) manually.
---
 src/util/uuid.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/uuid.c b/src/util/uuid.c
index 459273a..9c626ce 100644
--- a/src/util/uuid.c
+++ b/src/util/uuid.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007, 2008, 2009 Red Hat, Inc.
+ * Copyright (C) 2007, 2008, 2009, 2010 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -101,8 +101,8 @@ virUUIDGenerate(unsigned char *uuid)

     if ((err = virUUIDGenerateRandomBytes(uuid, VIR_UUID_BUFLEN))) {
         char ebuf[1024];
-        VIR_WARN(_("Falling back to pseudorandom UUID,"
-                   " failed to generate random bytes: %s"),
+        VIR_WARN("Falling back to pseudorandom UUID,"
+                 " failed to generate random bytes: %s",
                  virStrerror(err, ebuf, sizeof ebuf));
         err = virUUIDGeneratePseudoRandomBytes(uuid, VIR_UUID_BUFLEN);
     }
-- 
1.7.1.259.g3aef8




More information about the libvir-list mailing list