update for HEAD-2003091401
[reactos.git] / lib / crtdll / process / _system.c
index 01e87f4..6f836a6 100644 (file)
@@ -13,6 +13,9 @@
 #include <msvcrt/string.h>
 #include <msvcrt/process.h>
 
+/*
+ * @implemented
+ */
 int system(const char *command)
 {
        char szCmdLine[MAX_PATH];
@@ -20,7 +23,7 @@ int system(const char *command)
        
 
        PROCESS_INFORMATION ProcessInformation;
-       STARTUPINFO StartupInfo;
+       STARTUPINFOA StartupInfo;
 
        int nStatus;
 
@@ -54,7 +57,7 @@ int system(const char *command)
 //command file has invalid format ENOEXEC
 
 
-       StartupInfo.cb = sizeof(STARTUPINFO);
+       StartupInfo.cb = sizeof(StartupInfo);
        StartupInfo.lpReserved= NULL;
        StartupInfo.dwFlags = 0;
        StartupInfo.wShowWindow = SW_SHOWDEFAULT;