mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
Fixed logging in close error handling.
This commit is contained in:
parent
ce9d20eef4
commit
2e25f340b8
@ -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);
|
||||
|
@ -230,7 +230,7 @@ ngx_http_random_index_handler(ngx_http_request_t *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;
|
||||
|
Loading…
Reference in New Issue
Block a user