]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix build error in virsh.c
authorLaine Stump <laine@laine.org>
Tue, 3 Aug 2010 14:35:01 +0000 (10:35 -0400)
committerLaine Stump <laine@laine.org>
Tue, 3 Aug 2010 14:37:34 +0000 (10:37 -0400)
Another gettext string with no format args sent to printf as a format string.

tools/virsh.c

index 2ccf08b58c29abf0b688bcaf961cec4883ca7a81..c0ee3ee59e20fc8638d3d386f9fe764efd7ca67d 100644 (file)
@@ -11022,7 +11022,7 @@ vshParseArgv(vshControl *ctl, int argc, char **argv)
         switch (arg) {
         case 'd':
             if (virStrToLong_i(optarg, NULL, 10, &ctl->debug) < 0) {
-                vshError(ctl, _("option -d takes a numeric argument"));
+                vshError(ctl, "%s", _("option -d takes a numeric argument"));
                 exit(EXIT_FAILURE);
             }
             break;