Software /
code /
prosody
Changeset
9445:af7eafe82447
net.server_epoll: Log error number from wait()
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 Oct 2018 17:40:13 +0200 |
parents | 9444:7c1cdf5f9f83 |
children | 9446:6b4d28eb19cf |
files | net/server_epoll.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_epoll.lua Sun Oct 07 03:48:13 2018 +0200 +++ b/net/server_epoll.lua Sun Oct 07 17:40:13 2018 +0200 @@ -714,7 +714,7 @@ poll:del(fd); end elseif r ~= "timeout" then - log("debug", "epoll_wait error: %s", tostring(r)); + log("debug", "epoll_wait error: %s[%d]", r, w); end until once or (quitting and next(fds) == nil); return quitting;