From 771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Wed, 24 Jan 2018 15:16:33 +0300 Subject: Fixed formatting in nxt_sprintf() and logging. --- src/nxt_linux_sendfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_linux_sendfile.c') 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) { -- cgit