mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user