details: http://hg.nginx.org/nginx/rev/47daf95d0138 branches: changeset: 6477:47daf95d0138 user: Sergey Kandaurov <pluk...@nginx.com> date: Thu Mar 31 02:33:50 2016 +0300 description: Fixed logging in close error handling.
diffstat: src/core/ngx_open_file_cache.c | 2 +- src/http/modules/ngx_http_random_index_module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diff -r 5511e846dfc7 -r 47daf95d0138 src/core/ngx_open_file_cache.c --- a/src/core/ngx_open_file_cache.c Wed Mar 30 12:07:19 2016 +0300 +++ b/src/core/ngx_open_file_cache.c Thu Mar 31 02:33:50 2016 +0300 @@ -544,7 +544,7 @@ failed: if (ngx_close_file(fd) == NGX_FILE_ERROR) { ngx_log_error(NGX_LOG_ALERT, log, ngx_errno, - ngx_close_file_n " \"%V\" failed", name); + ngx_close_file_n " \"%s\" failed", name); } ngx_set_errno(err); diff -r 5511e846dfc7 -r 47daf95d0138 src/http/modules/ngx_http_random_index_module.c --- a/src/http/modules/ngx_http_random_index_module.c Wed Mar 30 12:07:19 2016 +0300 +++ b/src/http/modules/ngx_http_random_index_module.c Thu Mar 31 02:33:50 2016 +0300 @@ -230,7 +230,7 @@ ngx_http_random_index_handler(ngx_http_r if (ngx_close_dir(&dir) == NGX_ERROR) { ngx_log_error(NGX_LOG_ALERT, r->connection->log, ngx_errno, - ngx_close_dir_n " \"%s\" failed", &path); + ngx_close_dir_n " \"%V\" failed", &path); } n = names.nelts; _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel