From 7c5f80e2f0fddd1228bccace120236f24bc4954f Mon Sep 17 00:00:00 2001 From: Laine Stump Date: Tue, 3 Aug 2010 10:35:01 -0400 Subject: [PATCH] Fix build error in virsh.c Another gettext string with no format args sent to printf as a format string. --- tools/virsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;