From 8b6f1c7bb064aa87ab83fbf3d8ed9f9e80e1b06b Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Wed, 13 Aug 2014 15:11:45 +0400 Subject: [PATCH] Fixed writev() debug log message in ngx_darwin_sendfile_chain(). --- src/os/unix/ngx_darwin_sendfile_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/unix/ngx_darwin_sendfile_chain.c b/src/os/unix/ngx_darwin_sendfile_chain.c index ee44e1d58..068add959 100644 --- a/src/os/unix/ngx_darwin_sendfile_chain.c +++ b/src/os/unix/ngx_darwin_sendfile_chain.c @@ -285,7 +285,7 @@ ngx_darwin_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) rc = writev(c->fd, header.elts, header.nelts); ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0, - "writev: %d of %uz", rc, send); + "writev: %d of %O", rc, header_size); if (rc == -1) { err = ngx_errno;