log offset passed to sendfile()

This commit is contained in:
Igor Sysoev 2009-09-04 09:53:09 +00:00
parent c1a47a7d14
commit 8f8f9c00d5

View file

@ -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;
}