aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/ngx_readv_chain.c2
-rw-r--r--src/os/unix/ngx_recv.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c
index 5c2bb5af8..2e621d8bb 100644
--- a/src/os/unix/ngx_readv_chain.c
+++ b/src/os/unix/ngx_readv_chain.c
@@ -119,7 +119,7 @@ ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *chain)
*/
ngx_log_error(NGX_LOG_ALERT, c->log, 0,
- "recv() returned 0 while kevent() reported "
+ "readv() returned 0 while kevent() reported "
"%d available bytes", rev->available);
rev->eof = 1;
diff --git a/src/os/unix/ngx_recv.c b/src/os/unix/ngx_recv.c
index a8a351a80..f38730ec3 100644
--- a/src/os/unix/ngx_recv.c
+++ b/src/os/unix/ngx_recv.c
@@ -78,7 +78,7 @@ ssize_t ngx_unix_recv(ngx_connection_t *c, u_char *buf, size_t size)
*/
ngx_log_error(NGX_LOG_ALERT, c->log, 0,
- "recv() returned 0 while keevnt() reported "
+ "recv() returned 0 while kevent() reported "
"%d available bytes", rev->available);
rev->eof = 1;