changeset 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 5e8bf3e983d2
files src/os/unix/ngx_freebsd_sendfile_chain.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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;
             }