aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_sendfile_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-27 07:45:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-27 07:45:22 +0000
commit0e499db3ed63432cfacd08282cce1d42b568b567 (patch)
tree3dc7936e2083a5b72f82340973dd3dea55bb1ee8 /src/os/unix/ngx_freebsd_sendfile_chain.c
parentc0f8d91bde06aeeb53ff16d6c26490f5961f5a31 (diff)
downloadnginx-0e499db3ed63432cfacd08282cce1d42b568b567.tar.gz
nginx-0e499db3ed63432cfacd08282cce1d42b568b567.zip
nginx-0.0.1-2003-11-27-10:45:22 import
Diffstat (limited to 'src/os/unix/ngx_freebsd_sendfile_chain.c')
-rw-r--r--src/os/unix/ngx_freebsd_sendfile_chain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/unix/ngx_freebsd_sendfile_chain.c b/src/os/unix/ngx_freebsd_sendfile_chain.c
index 6b0e62efc..bb89336fe 100644
--- a/src/os/unix/ngx_freebsd_sendfile_chain.c
+++ b/src/os/unix/ngx_freebsd_sendfile_chain.c
@@ -192,7 +192,8 @@ ngx_log_debug(c->log, "NOPUSH");
if (err == NGX_EAGAIN || err == NGX_EINTR) {
ngx_log_error(NGX_LOG_INFO, c->log, err,
- "sendfile() sent only %qd bytes", sent);
+ "sendfile() sent only " OFF_T_FMT " bytes",
+ sent);
} else {
wev->error = 1;