[RFC PATCH 2/8] Don't translate strings used with VIR_DEBUG

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

 



Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/util/virnetlink.c | 6 +++---
 src/vz/vz_driver.c    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/util/virnetlink.c b/src/util/virnetlink.c
index f18a08c277..866f4d8f2b 100644
--- a/src/util/virnetlink.c
+++ b/src/util/virnetlink.c
@@ -1300,7 +1300,7 @@ virNetlinkGetNeighbor(void **nlData G_GNUC_UNUSED,
  */
 int virNetlinkEventServiceStop(unsigned int protocol G_GNUC_UNUSED)
 {
-    VIR_DEBUG("%s", _(unsupported));
+    VIR_DEBUG("%s", unsupported);
     return 0;
 }

@@ -1310,7 +1310,7 @@ int virNetlinkEventServiceStop(unsigned int protocol G_GNUC_UNUSED)
  */
 int virNetlinkEventServiceStopAll(void)
 {
-    VIR_DEBUG("%s", _(unsupported));
+    VIR_DEBUG("%s", unsupported);
     return 0;
 }

@@ -1321,7 +1321,7 @@ int virNetlinkEventServiceStopAll(void)
 int virNetlinkEventServiceStart(unsigned int protocol G_GNUC_UNUSED,
                                 unsigned int groups G_GNUC_UNUSED)
 {
-    VIR_DEBUG("%s", _(unsupported));
+    VIR_DEBUG("%s", unsupported);
     return 0;
 }

diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index 56dc236233..401ca041ed 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -4101,7 +4101,7 @@ vzStateInitialize(bool privileged,
         return VIR_DRV_STATE_INIT_ERROR;

     if (prlsdkInit() < 0) {
-        VIR_DEBUG("%s", _("Can't initialize Parallels SDK"));
+        VIR_DEBUG("Can't initialize Parallels SDK");
         return VIR_DRV_STATE_INIT_ERROR;
     }

@@ -4144,7 +4144,7 @@ vzRegister(void)

     prlctl_path = virFindFileInPath(PRLCTL);
     if (!prlctl_path) {
-        VIR_DEBUG("%s", _("Can't find prlctl command in the PATH env"));
+        VIR_DEBUG("Can't find prlctl command in the PATH env");
         return 0;
     }

-- 
2.39.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux