From f1cc457d7f562a7c8e7ff9ba28fc143bd175a7dc Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 27 Apr 2009 09:55:53 +0000 Subject: *) of.test_only to not open file if only stat() is enough *) of.failed to return exact name of failed syscall --- src/http/modules/ngx_http_static_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_static_module.c') diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index dce366922..bc46b84a7 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -128,7 +128,7 @@ ngx_http_static_handler(ngx_http_request_t *r) if (rc != NGX_HTTP_NOT_FOUND || clcf->log_not_found) { ngx_log_error(level, log, of.err, - ngx_open_file_n " \"%s\" failed", path.data); + "%s \"%s\" failed", of.failed, path.data); } return rc; -- cgit