aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index be77f761..fde007f6 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -267,7 +267,7 @@ function interface:add(r, w)
if w == nil then w = self._wantwrite; end
local ok, err, errno = poll:add(fd, r, w);
if not ok then
- log("error", "Could not register %s: %s(%d)", self, err);
+ log("error", "Could not register %s: %s(%d)", self, err, errno);
return ok, err;
end
self._wantread, self._wantwrite = r, w;