diff options
Diffstat (limited to 'src/nxt_linux_sendfile.c')
-rw-r--r-- | src/nxt_linux_sendfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_linux_sendfile.c b/src/nxt_linux_sendfile.c index f5a7dccf..0e772ffb 100644 --- a/src/nxt_linux_sendfile.c +++ b/src/nxt_linux_sendfile.c @@ -104,7 +104,7 @@ nxt_linux_event_conn_io_sendfile(nxt_event_conn_t *c, nxt_buf_t *b, err = (n == -1) ? nxt_errno : 0; - nxt_debug(c->socket.task, "sendfile(): %d", n); + nxt_debug(c->socket.task, "sendfile(): %z", n); if (n == -1) { switch (err) { @@ -204,7 +204,7 @@ nxt_linux_sendmsg(nxt_event_conn_t *c, nxt_sendbuf_coalesce_t *sb, err = (n == -1) ? nxt_errno : 0; - nxt_debug(c->socket.task, "sendmsg(%d, %ui, 0x%uXi): %d", + nxt_debug(c->socket.task, "sendmsg(%d, %ui, 0x%uXi): %z", c->socket.fd, niov, flags, n); if (n == -1) { |