diff options
author | Ruslan Ermilov <ru@nginx.com> | 2018-12-25 15:26:58 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2018-12-25 15:26:58 +0300 |
commit | 34a8b4506a64f41c522367a7e38a21e9c8ed6cf0 (patch) | |
tree | f04500e57fa96c81b28770dfcf5640e4651b3331 /src | |
parent | 097b1121fdb314ad448b32fe3801177ec69530b5 (diff) | |
download | nginx-34a8b4506a64f41c522367a7e38a21e9c8ed6cf0.tar.gz nginx-34a8b4506a64f41c522367a7e38a21e9c8ed6cf0.zip |
Use %s for errors returned from configuration parsing handlers.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ngx_conf_file.c | 2 |
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; } |