提交 6c7299d4 编写于 作者: M Michal Privoznik

virterror: Fix error message for VIR_ERR_INVALID_ARG

When a detail message is presented, nobody expects prefix 'invalid
argument in' but something more general, like 'invalid argument:'.
上级 6b434da6
......@@ -792,9 +792,9 @@ virErrorMsg(virErrorNumber error, const char *info)
break;
case VIR_ERR_INVALID_ARG:
if (info == NULL)
errmsg = _("invalid argument in");
errmsg = _("invalid argument");
else
errmsg = _("invalid argument in %s");
errmsg = _("invalid argument: %s");
break;
case VIR_ERR_OPERATION_FAILED:
if (info != NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册