aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_conf_file.c')
-rw-r--r--src/core/ngx_conf_file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c
index b33b1d502..a68192fe0 100644
--- a/src/core/ngx_conf_file.c
+++ b/src/core/ngx_conf_file.c
@@ -344,7 +344,7 @@ ngx_conf_handler(ngx_conf_t *cf, ngx_int_t last)
}
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "the \"%s\" directive %s", name->data, rv);
+ "\"%s\" directive %s", name->data, rv);
return NGX_ERROR;
}
@@ -360,13 +360,13 @@ ngx_conf_handler(ngx_conf_t *cf, ngx_int_t last)
not_allowed:
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "directive \"%s\" is not allowed here", name->data);
+ "\"%s\" directive is not allowed here", name->data);
return NGX_ERROR;
invalid:
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
- "invalid number arguments in directive \"%s\"",
+ "invalid number arguments in \"%s\" directive",
name->data);
return NGX_ERROR;