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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c
index fee60187c..aff3998eb 100644
--- a/src/core/ngx_log.c
+++ b/src/core/ngx_log.c
@@ -147,7 +147,7 @@ void ngx_log_stderr(ngx_event_t *ev)
n = read((ngx_fd_t) ev->data, errstr, sizeof(errstr - 1));
if (n == -1) {
- err = ngx_errno;
+ err = ngx_errno;
if (err == NGX_EAGAIN) {
return;
}