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

@@ -503,7 +503,7 @@ nxt_file_stderr(nxt_file_t *file)
}
nxt_thread_log_error(NXT_LOG_CRIT, "dup2(%FD, %FD, \"%FN\") failed %E",
file->fd, STDERR_FILENO, file->name);
file->fd, STDERR_FILENO, file->name, nxt_errno);
return NXT_ERROR;
}