提交 2c7be88d 编写于 作者: D Daniel P. Berrange

Remove a use of strerror() in error reporting in remote driver

上级 788bedd9
Tue Jan 20 17:46:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
* src/remote_internal.c: Remove a use of strerror() in error
reporting missed earlier
Tue Jan 20 17:33:53 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
* src/xen_inotify.c, src/xen_unified.c, src/xen_unified.h,
......
......@@ -6192,8 +6192,8 @@ processCalls(virConnectPtr conn,
if (ret < 0) {
if (errno == EWOULDBLOCK)
continue;
errorf (in_open ? NULL : conn, VIR_ERR_INTERNAL_ERROR,
_("poll on socket failed %s"), strerror(errno));
virReportSystemError(in_open ? NULL : conn, errno,
"%s", _("poll on socket failed"));
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册