Fixed formatting in nxt_sprintf() and logging.

This commit is contained in:
Sergey Kandaurov
2018-01-24 15:16:33 +03:00
parent 67c64a99fb
commit 771e9d3cc3
19 changed files with 29 additions and 28 deletions

View File

@@ -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) {