diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:33 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:33 +0300 |
commit | 771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd (patch) | |
tree | e50d2d18f95dec00f7f643dcf6251c1baa44e7b8 /src/nxt_linux_sendfile.c | |
parent | 67c64a99fb78f48c3deacc7d89e73de72522806b (diff) | |
download | unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.gz unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.bz2 |
Fixed formatting in nxt_sprintf() and logging.
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) { |