aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win32/win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 5279d7a5f5..ebcaa7ab8d 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1252,8 +1252,8 @@ CreateChild(const WCHAR *cmd, const WCHAR *prog, HANDLE hInput, HANDLE hOutput,
}
RUBY_CRITICAL {
- fRet = CreateProcessW(prog, (WCHAR *)cmd, &sa, &sa,
- sa.bInheritHandle, dwCreationFlags, NULL, NULL,
+ fRet = CreateProcessW(prog, (WCHAR *)cmd, &sa, &sa,
+ sa.bInheritHandle, dwCreationFlags, NULL, NULL,
&aStartupInfo, &aProcessInformation);
errno = map_errno(GetLastError());
}