# HG changeset patch # User Ruslan Ermilov # Date 1545740818 -10800 # Node ID d864ee67b5ae77faaeba49dc162bc05c6000acdd # Parent 2d9ab7717e23fdb271c90f23e532c6b7eb9efa9c 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 --- 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 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; }