From e4a2526e5ccd4f3f5f160656c1a7b6f865ac44c8 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 6 Jun 2003 14:59:20 +0000 Subject: nginx-0.0.1-2003-06-06-18:59:20 import --- src/http/modules/ngx_http_log_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_log_handler.c') 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); -- cgit