Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2018-12-25 15:26:58 +0300
committerRuslan Ermilov <ru@nginx.com>2018-12-25 15:26:58 +0300
commit34a8b4506a64f41c522367a7e38a21e9c8ed6cf0 (patch)
treef04500e57fa96c81b28770dfcf5640e4651b3331 /src
parent097b1121fdb314ad448b32fe3801177ec69530b5 (diff)
Use %s for errors returned from configuration parsing handlers.
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_conf_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index e92cd33c9..6d1629e9b 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -310,7 +310,7 @@ ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename)
goto failed;
}
- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, rv);
+ ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s", rv);
goto failed;
}