Mercurial > hg > nginx
diff src/os/unix/ngx_freebsd_sendfile_chain.c @ 3081:10bfdd8d5eb9
log offset passed to sendfile()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Sep 2009 09:53:09 +0000 |
parents | af427e13cfd7 |
children | 59b99f217c6d |
line wrap: on
line diff
--- 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_connectio */ 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; }