[csrss] Don't expect ReactOS to always boot from C:\ReactOS (that's not the case...
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 13 Mar 2010 15:59:12 +0000 (15:59 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 13 Mar 2010 15:59:12 +0000 (15:59 +0000)
svn path=/trunk/; revision=46170

reactos/subsystems/win32/csrss/csrsrv/init.c

index c6fa69b..51adb2c 100644 (file)
@@ -622,7 +622,7 @@ CsrpLoadKernelModeDriver (int argc, char ** argv, char ** envp)
                WCHAR                      ImagePath [MAX_PATH + 1] = {0};
                UNICODE_STRING             ModuleName;
 
-               wcscpy (ImagePath, L"\\??\\c:\\reactos\\system32\\win32k.sys");
+               wcscpy (ImagePath, L"\\SYSTEMROOT\\system32\\win32k.sys");
 //             wcscat (ImagePath, Data);
                RtlInitUnicodeString (& ModuleName, ImagePath);
                Status = NtSetSystemInformation(/* FIXME: SystemLoadAndCallImage */