]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Eliminate compiler warning due to gettext string with no format args
authorLaine Stump <laine@redhat.com>
Tue, 13 Jul 2010 03:35:43 +0000 (23:35 -0400)
committerLaine Stump <laine@redhat.com>
Tue, 13 Jul 2010 03:35:43 +0000 (23:35 -0400)
tools/virsh.c

index 8e6e2b4f52f85d9cbb8e05880cd0bc75b0c7fd24..38ecc0fb63ee876ed5016e7f18ce7793d4242361 100644 (file)
@@ -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;
     }