summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_process.h4
-rw-r--r--src/process/ntapi_tt_spawn_native_process.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/ntapi/nt_process.h b/include/ntapi/nt_process.h
index 2e4b12e..4404b20 100644
--- a/include/ntapi/nt_process.h
+++ b/include/ntapi/nt_process.h
@@ -659,9 +659,9 @@ typedef struct _nt_spawn_process_params {
__in void * htoken;
__in void * himage;
__in char * patharg;
- __in const char * image;
- __in const char * interpreter;
+ __in const char * interp;
__in const char * optarg;
+ __in const char * script;
__in char ** argv;
__in char ** envp;
__in void * hready;
diff --git a/src/process/ntapi_tt_spawn_native_process.c b/src/process/ntapi_tt_spawn_native_process.c
index 120cbbd..a1712bb 100644
--- a/src/process/ntapi_tt_spawn_native_process.c
+++ b/src/process/ntapi_tt_spawn_native_process.c
@@ -165,8 +165,8 @@ int32_t __stdcall __ntapi_tt_spawn_native_process(nt_spawn_process_params * spar
&rdata->argc,
(const char **)sparams->argv,
(const char **)sparams->envp,
- sparams->image,
- sparams->interpreter,
+ sparams->script,
+ sparams->interp,
sparams->optarg,
rtblock.addr,
rdata->buffer,