[ros-diffs] [hpoussin] 46170: [csrss] Don't expect ReactOS to always boot from C:\ReactOS (that's not the case for LiveCD)

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Sat Mar 13 16:59:12 CET 2010


Author: hpoussin
Date: Sat Mar 13 16:59:12 2010
New Revision: 46170

URL: http://svn.reactos.org/svn/reactos?rev=46170&view=rev
Log:
[csrss] Don't expect ReactOS to always boot from C:\ReactOS (that's not the case for LiveCD)

Modified:
    trunk/reactos/subsystems/win32/csrss/csrsrv/init.c

Modified: trunk/reactos/subsystems/win32/csrss/csrsrv/init.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/csrsrv/init.c?rev=46170&r1=46169&r2=46170&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/csrsrv/init.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/csrsrv/init.c [iso-8859-1] Sat Mar 13 16:59:12 2010
@@ -622,7 +622,7 @@
 		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 */




More information about the Ros-diffs mailing list