提交 73b9246d 编写于 作者: O Osier Yang

util: Correct the error prompt string

virCommandProcessIO: It's reading from stdout or stderr of child,
but not writing.
上级 20d5e9db
......@@ -1504,7 +1504,9 @@ virCommandProcessIO(virCommandPtr cmd)
if (errno != EINTR &&
errno != EAGAIN) {
virReportSystemError(errno, "%s",
_("unable to write to child input"));
(fds[i].fd == outfd) ?
_("unable to read child stdout") :
_("unable to read child stderr"));
goto cleanup;
}
} else if (done == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册