Fixed an error log message about epoll_wait() timeout.

The errno value is unset in case of epoll_wait() timeout.
This commit is contained in:
Valentin Bartenev 2016-05-16 16:22:34 +03:00
parent 12f4367189
commit 7850609cf9

View File

@ -1000,7 +1000,7 @@ ngx_epoll_module_init(ngx_cycle_t *cycle)
ngx_use_epoll_rdhup = ee.events & EPOLLRDHUP;
} else {
ngx_log_error(NGX_LOG_ALERT, cycle->log, ngx_errno,
ngx_log_error(NGX_LOG_ALERT, cycle->log, NGX_ETIMEDOUT,
"epoll_wait() timed out");
}