diff options
Diffstat (limited to 'src/http/modules/ngx_http_log_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_log_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_log_handler.c b/src/http/modules/ngx_http_log_handler.c index 38aa2331d..1ddca3241 100644 --- a/src/http/modules/ngx_http_log_handler.c +++ b/src/http/modules/ngx_http_log_handler.c @@ -202,7 +202,7 @@ static char *ngx_http_log_set_log(ngx_conf_t *cf, ngx_command_t *cmd, if (ngx_file_append_mode(lcf->file.fd) == NGX_ERROR) { err = ngx_errno; len = ngx_snprintf(ngx_conf_errstr, sizeof(ngx_conf_errstr) - 1, - ngx_file_appned_mode_n " \"%s\" failed (%d: ", + ngx_file_append_mode_n " \"%s\" failed (%d: ", lcf->file.name.data, err); len += ngx_strerror_r(err, ngx_conf_errstr + len, sizeof(ngx_conf_errstr) - len - 1); |