build: avoid compiler warning, for real this time

* tools/virsh.c (vshParseArgv): Drop spurious argument to printf.
This commit is contained in:
Eric Blake 2010-08-02 14:00:54 -06:00
parent a7d65ee9c1
commit aa2d747350

View 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: %s"), arg);
vshError(ctl, _("option -d takes a numeric argument"));
exit(EXIT_FAILURE);
}
break;