From aa2d747350988eff1f2e9f1c02a929d1a87abb12 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 2 Aug 2010 14:00:54 -0600 Subject: [PATCH] build: avoid compiler warning, for real this time * tools/virsh.c (vshParseArgv): Drop spurious argument to printf. --- tools/virsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virsh.c b/tools/virsh.c index cedfb5abc0..2ccf08b58c 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: %s"), arg); + vshError(ctl, _("option -d takes a numeric argument")); exit(EXIT_FAILURE); } break;