aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index c1a52c44f..95ecca528 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -248,7 +248,7 @@ char *ngx_log_set_log(ngx_conf_t *cf, ngx_log_t **head);
static ngx_inline void
ngx_write_stderr(char *text)
{
- (void) ngx_write_fd(ngx_stderr, text, strlen(text));
+ (void) ngx_write_fd(ngx_stderr, text, ngx_strlen(text));
}