aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_log.c')
-rw-r--r--src/core/ngx_log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
index 627c507fc..e3e292ced 100644
--- a/src/core/ngx_log.c
+++ b/src/core/ngx_log.c
@@ -169,12 +169,12 @@ void ngx_log_error(int level, ngx_log_t *log, ngx_err_t err,
}
-void ngx_log_debug_core(ngx_log_t *log, const char *fmt, ...)
+void ngx_log_debug_core(ngx_log_t *log, ngx_err_t err, const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
- ngx_log_error_core(NGX_LOG_DEBUG, log, 0, fmt, args);
+ ngx_log_error_core(NGX_LOG_DEBUG, log, err, fmt, args);
va_end(args);
}