[libvirt] [PATCH] storage_backend_rbd: remove unnessary translated message marker

Chen Hanxiao chen_han_xiao at 126.com
Sat Sep 24 03:37:02 UTC 2016


From: Chen Hanxiao <chenhanxiao at gmail.com>

Remove unnessary translated message marker _()
for the VIR_WARN messages.

Signed-off-by: Chen Hanxiao <chenhanxiao at gmail.com>
---
 src/storage/storage_backend_rbd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/storage/storage_backend_rbd.c b/src/storage/storage_backend_rbd.c
index 4dd4b24..21693c4 100644
--- a/src/storage/storage_backend_rbd.c
+++ b/src/storage/storage_backend_rbd.c
@@ -427,7 +427,7 @@ virStorageBackendRBDRefreshPool(virConnectPtr conn,
         if (len >= 0)
             break;
         if (len != -ERANGE) {
-            VIR_WARN("%s", _("A problem occurred while listing RBD images"));
+            VIR_WARN("%s", "A problem occurred while listing RBD images");
             goto cleanup;
         }
         VIR_FREE(names);
@@ -582,7 +582,7 @@ virStorageBackendRBDDeleteVol(virConnectPtr conn,
     VIR_DEBUG("Removing RBD image %s/%s", pool->def->source.name, vol->name);
 
     if (flags & VIR_STORAGE_VOL_DELETE_ZEROED)
-        VIR_WARN("%s", _("This storage backend does not support zeroed removal of volumes"));
+        VIR_WARN("%s", "This storage backend does not support zeroed removal of volumes");
 
     if (virStorageBackendRBDOpenRADOSConn(&ptr, conn, &pool->def->source) < 0)
         goto cleanup;
-- 
1.8.3.1





More information about the libvir-list mailing list