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

This commit is contained in:
Daniel P. Berrange 2009-01-20 17:47:13 +00:00
parent 788bedd904
commit 2c7be88d15
2 changed files with 7 additions and 2 deletions

View File

@ -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,

View File

@ -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;
} }