summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-08-01 13:47:29 -0400
committermidipix <writeonce@midipix.org>2017-08-01 13:47:29 -0400
commit239da0d84d764de4307fb4aaaa6b6444118f24c8 (patch)
tree1c7beb7ee01933228f09571e9277cd0702f1a31a /src/process
parent9faf9a067cfeaa786ac1784fb8bf4eece49922e9 (diff)
downloadntapi-239da0d84d764de4307fb4aaaa6b6444118f24c8.tar.bz2
ntapi-239da0d84d764de4307fb4aaaa6b6444118f24c8.tar.xz
__ntapi_tt_fork(): fixed typo in legacy OS code path.
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_fork.c b/src/process/ntapi_tt_fork.c
index 9c0d2de..d76a994 100644
--- a/src/process/ntapi_tt_fork.c
+++ b/src/process/ntapi_tt_fork.c
@@ -263,7 +263,7 @@ intptr_t __fastcall __ntapi_tt_fork(
if (__ntapi->zw_create_user_process)
pid = __ntapi_tt_fork_v2(hprocess,hthread);
else
- pid = __ntapi_tt_fork_v2(hprocess,hthread);
+ pid = __ntapi_tt_fork_v1(hprocess,hthread);
if (pid == 0) {
__ntapi_tt_fork_child(