From: Peter Krempa Date: Thu, 13 Apr 2023 06:30:21 +0000 (+0200) Subject: Don't translate strings used with VIR_DEBUG X-Git-Tag: v9.3.0-rc1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fbb8e9a7b955ae4544fafe6cf48af0cb1147d0d;p=thirdparty%2Flibvirt.git Don't translate strings used with VIR_DEBUG Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik Reviewed-by: Ján Tomko --- 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; }