summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2018-01-24 15:16:33 +0300
committerSergey Kandaurov <pluknet@nginx.com>2018-01-24 15:16:33 +0300
commit771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd (patch)
treee50d2d18f95dec00f7f643dcf6251c1baa44e7b8 /src/nxt_process.c
parent67c64a99fb78f48c3deacc7d89e73de72522806b (diff)
downloadunit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.gz
unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.bz2
Fixed formatting in nxt_sprintf() and logging.
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r--src/nxt_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c
index f1c00e4e..04c5f745 100644
--- a/src/nxt_process.c
+++ b/src/nxt_process.c
@@ -588,7 +588,7 @@ nxt_int_t
nxt_user_cred_set(nxt_task_t *task, nxt_user_cred_t *uc)
{
nxt_debug(task, "user cred set: \"%s\" uid:%uL base gid:%uL",
- uc->user, (uint64_t) uc->uid, uc->base_gid);
+ uc->user, (uint64_t) uc->uid, (uint64_t) uc->base_gid);
if (setgid(uc->base_gid) != 0) {
nxt_log(task, NXT_LOG_CRIT, "setgid(%d) failed %E",