提交 aa2d7473 编写于 作者: E Eric Blake

build: avoid compiler warning, for real this time

* tools/virsh.c (vshParseArgv): Drop spurious argument to printf.
上级 a7d65ee9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册