mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
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:
parent
12f4367189
commit
7850609cf9
@ -1000,8 +1000,8 @@ 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,
|
||||
"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,
|
||||
|
Loading…
Reference in New Issue
Block a user