From: Laine Stump Date: Tue, 13 Jul 2010 03:35:43 +0000 (-0400) Subject: Eliminate compiler warning due to gettext string with no format args X-Git-Tag: v0.8.3~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73b9dfeb31481306e6ab0a8a3a8ecdaafa2db041;p=thirdparty%2Flibvirt.git Eliminate compiler warning due to gettext string with no format args --- diff --git a/tools/virsh.c b/tools/virsh.c index 8e6e2b4f52..38ecc0fb63 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -1462,7 +1462,7 @@ cmdManagedSaveRemove(vshControl *ctl, const vshCmd *cmd) hassave = virDomainHasManagedSaveImage(dom, 0); if (hassave < 0) { - vshError(ctl, _("Failed to check for domain managed save image")); + vshError(ctl, "%s", _("Failed to check for domain managed save image")); goto cleanup; }