summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mp.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_mp.c b/src/nxt_mp.c
index a1ccd058..a0f19ac2 100644
--- a/src/nxt_mp.c
+++ b/src/nxt_mp.c
@@ -233,7 +233,7 @@ nxt_mp_thread_adopt(nxt_mp_t *mp)
{
#if (NXT_DEBUG)
mp->pid = nxt_pid;
- mp->tid = nxt_thread_tid(NULL);
+ mp->tid = nxt_thread_tid(nxt_thread());
#endif
}