aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_sendfile_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-04 09:53:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-04 09:53:09 +0000
commitf0e12845a5a44bf926162eae2e0cdb22ef450547 (patch)
treea78a5471444aae78b264ebec9fa2139f751a89c2 /src/os/unix/ngx_freebsd_sendfile_chain.c
parent2052077b930ad6ba9b2ebec571cafabff78987e2 (diff)
downloadnginx-f0e12845a5a44bf926162eae2e0cdb22ef450547.tar.gz
nginx-f0e12845a5a44bf926162eae2e0cdb22ef450547.zip
log offset passed to sendfile()
Diffstat (limited to 'src/os/unix/ngx_freebsd_sendfile_chain.c')
-rw-r--r--src/os/unix/ngx_freebsd_sendfile_chain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c
index 50d5923dd..70cdb7495 100644
--- a/src/os/unix/ngx_freebsd_sendfile_chain.c
+++ b/src/os/unix/ngx_freebsd_sendfile_chain.c
@@ -310,8 +310,8 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
*/
ngx_log_error(NGX_LOG_ALERT, c->log, 0,
- "sendfile() reported that \"%s\" was truncated",
- file->file->name.data);
+ "sendfile() reported that \"%s\" was truncated at %O",
+ file->file->name.data, file->file_pos);
return NGX_CHAIN_ERROR;
}