Fix build error in virsh.c

Another gettext string with no format args sent to printf as a format string.
This commit is contained in:
Laine Stump 2010-08-03 10:35:01 -04:00
parent 14954fb8cb
commit 7c5f80e2f0

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