From 8ef3374a5abbeaf40a1f5d8296348518151dba10 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Tue, 21 May 2013 17:30:19 +0400 Subject: Fixed error logging. The provided argument list didn't follow a used format string. --- src/http/modules/ngx_http_autoindex_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules') diff --git a/src/http/modules/ngx_http_autoindex_module.c b/src/http/modules/ngx_http_autoindex_module.c index fb46d65d1..e3dcfd07e 100644 --- a/src/http/modules/ngx_http_autoindex_module.c +++ b/src/http/modules/ngx_http_autoindex_module.c @@ -357,7 +357,7 @@ ngx_http_autoindex_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); } escape_html = ngx_escape_html(NULL, r->uri.data, r->uri.len); -- cgit