From: Eric Blake Date: Mon, 2 Aug 2010 20:00:54 +0000 (-0600) Subject: build: avoid compiler warning, for real this time X-Git-Tag: v0.8.3~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa2d747350988eff1f2e9f1c02a929d1a87abb12;p=thirdparty%2Flibvirt.git build: avoid compiler warning, for real this time * tools/virsh.c (vshParseArgv): Drop spurious argument to printf. --- 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;