mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
Remove a use of strerror() in error reporting in remote driver
This commit is contained in:
parent
788bedd904
commit
2c7be88d15
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
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,
|
* src/xen_inotify.c, src/xen_unified.c, src/xen_unified.h,
|
||||||
|
@ -6192,8 +6192,8 @@ processCalls(virConnectPtr conn,
|
|||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
if (errno == EWOULDBLOCK)
|
if (errno == EWOULDBLOCK)
|
||||||
continue;
|
continue;
|
||||||
errorf (in_open ? NULL : conn, VIR_ERR_INTERNAL_ERROR,
|
virReportSystemError(in_open ? NULL : conn, errno,
|
||||||
_("poll on socket failed %s"), strerror(errno));
|
"%s", _("poll on socket failed"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user