]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Don't translate strings used with VIR_DEBUG
authorPeter Krempa <pkrempa@redhat.com>
Thu, 13 Apr 2023 06:30:21 +0000 (08:30 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Apr 2023 13:21:59 +0000 (15:21 +0200)
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virnetlink.c
src/vz/vz_driver.c

index f18a08c2777fff1e3e69956f46bda7bde1f323af..866f4d8f2b8fd968c6351b3c919830f67ae771a6 100644 (file)
@@ -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;
 }
 
index 56dc2362339b5d9a55cba8256b7f3fac952e8393..401ca041ed86f21581225f97df8402f399f92afb 100644 (file)
@@ -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;
     }