From: Ruslan Ermilov Date: Tue, 25 Dec 2018 12:26:58 +0000 (+0300) Subject: Use %s for errors returned from configuration parsing handlers. X-Git-Tag: release-1.15.9~17 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=34a8b4506a64f41c522367a7e38a21e9c8ed6cf0;p=nginx.git Use %s for errors returned from configuration parsing handlers. --- 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; }