summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/ntapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index 390931f..70a9de5 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -416,7 +416,7 @@ static int32_t __fastcall __ntapi_init_pending(ntapi_vtbl ** pvtbl)
static int32_t __fastcall __ntapi_init_completed(ntapi_vtbl ** pvtbl)
{
- *pvtbl = __ntapi;
+ *pvtbl = &___ntapi_shadow;
return NT_STATUS_SUCCESS;
};