From: Laine Stump Date: Tue, 3 Aug 2010 14:35:01 +0000 (-0400) Subject: Fix build error in virsh.c X-Git-Tag: v0.8.3~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c5f80e2f0fddd1228bccace120236f24bc4954f;p=thirdparty%2Flibvirt.git Fix build error in virsh.c Another gettext string with no format args sent to printf as a format string. --- diff --git a/tools/virsh.c b/tools/virsh.c index 2ccf08b58c..c0ee3ee59e 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -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;