Mercurial > hg > nginx
changeset 6537:3ad1064a3aae
Fixed an error log message about epoll_wait() timeout.
The errno value is unset in case of epoll_wait() timeout.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 16 May 2016 16:22:34 +0300 |
parents | f7849bfb6d21 |
children | 055cbb52ac1d |
files | src/event/modules/ngx_epoll_module.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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,