summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_create_native_process_v1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_create_native_process_v1.c b/src/process/ntapi_tt_create_native_process_v1.c
index 22c946d..c27a583 100644
--- a/src/process/ntapi_tt_create_native_process_v1.c
+++ b/src/process/ntapi_tt_create_native_process_v1.c
@@ -247,7 +247,7 @@ int32_t __stdcall __ntapi_tt_create_native_process_v1(nt_create_process_params *
/* all done */
params->hthread = tparams.hthread;
params->cid.process_id = params->pbi.unique_process_id;
- params->cid.thread_id = tparams.thread_id;
+ params->cid.thread_id = tparams.cid.thread_id;
return status;
}