summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/argv/ntapi_tt_argv_envp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/argv/ntapi_tt_argv_envp.c b/src/argv/ntapi_tt_argv_envp.c
index 6be29c0..722ab87 100644
--- a/src/argv/ntapi_tt_argv_envp.c
+++ b/src/argv/ntapi_tt_argv_envp.c
@@ -128,19 +128,19 @@ int32_t __stdcall __ntapi_tt_parse_cmd_line_args_utf16(
return NT_STATUS_INVALID_PARAMETER_1;
else if (__NT_IS_MISALIGNED_BUFFER(args_buffer))
- return NT_STATUS_INVALID_PARAMETER_2;
+ return NT_STATUS_INVALID_PARAMETER_3;
else if (__NT_IS_MISALIGNED_LENGTH(args_buffer_len))
- return NT_STATUS_INVALID_PARAMETER_3;
+ return NT_STATUS_INVALID_PARAMETER_4;
else if (__NT_IS_MISALIGNED_BUFFER(argv_buffer))
- return NT_STATUS_INVALID_PARAMETER_5;
+ return NT_STATUS_INVALID_PARAMETER_6;
else if (__NT_IS_MISALIGNED_LENGTH(argv_buffer_len))
- return NT_STATUS_INVALID_PARAMETER_6;
+ return NT_STATUS_INVALID_PARAMETER_7;
else if (__NT_IS_MISALIGNED_INT_BUFFER(arg_count))
- return NT_STATUS_INVALID_PARAMETER_7;
+ return NT_STATUS_INVALID_PARAMETER_2;
/* zero-out the aligned buffers */
__ntapi->tt_aligned_block_memset(args_buffer,0,args_buffer_len);