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_file.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_file.c')
-rw-r--r-- | src/nxt_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_file.c b/src/nxt_file.c index 8381dc74..4c2a8783 100644 --- a/src/nxt_file.c +++ b/src/nxt_file.c @@ -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; } |