# HG changeset patch # User Valentin Bartenev # Date 1463404954 -10800 # Node ID 3ad1064a3aaeb9de59ef55a2c667a658635a507d # Parent f7849bfb6d21146b2ef5692a5ce349c697d88731 Fixed an error log message about epoll_wait() timeout. The errno value is unset in case of epoll_wait() timeout. diff -r f7849bfb6d21 -r 3ad1064a3aae src/event/modules/ngx_epoll_module.c --- a/src/event/modules/ngx_epoll_module.c Fri May 13 17:19:23 2016 +0300 +++ b/src/event/modules/ngx_epoll_module.c Mon May 16 16:22:34 2016 +0300 @@ -1000,8 +1000,8 @@ ngx_use_epoll_rdhup = ee.events & EPOLLRDHUP; } else { - ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno, - "epoll_wait() timedout"); + ngx_log_error(NGX_LOG_ALERT, cycle->log, NGX_ETIMEDOUT, + "epoll_wait() timed out"); } ngx_log_error(NGX_LOG_NOTICE, cycle->log, 0,