From: Paul Gofman pgofman@codeweavers.com
--- dlls/ntdll/tests/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/tests/thread.c b/dlls/ntdll/tests/thread.c index f7806e0fe62..436b1bf89e0 100644 --- a/dlls/ntdll/tests/thread.c +++ b/dlls/ntdll/tests/thread.c @@ -232,7 +232,7 @@ static void test_NtCreateUserProcess(void)
memset( &create_info, 0, sizeof(create_info) ); create_info.Size = sizeof(create_info); - status = NtCreateUserProcess( &process, &thread, PROCESS_TERMINATE, SYNCHRONIZE, + status = NtCreateUserProcess( &process, &thread, PROCESS_TERMINATE | PROCESS_QUERY_INFORMATION, SYNCHRONIZE, NULL, NULL, 0, THREAD_CREATE_FLAGS_CREATE_SUSPENDED, params, &create_info, &ps_attr ); ok( status == STATUS_SUCCESS, "Got unexpected status %#lx.\n", status );