Removed the absolute path (c:\reactos\system32) to smss.exe.

svn path=/trunk/; revision=3341
This commit is contained in:
Hartmut Birr 2002-08-17 15:17:59 +00:00
parent 9baabd888d
commit 74e8579c8f

View file

@ -1,4 +1,4 @@
/* $Id: startup.c,v 1.40 2002/08/09 17:23:56 dwelch Exp $ /* $Id: startup.c,v 1.41 2002/08/17 15:17:59 hbirr Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -236,10 +236,12 @@ LdrInitializeThunk (ULONG Unknown1,
else else
{ {
/* FIXME(???): smss.exe doesn't have a process parameter block */ /* FIXME(???): smss.exe doesn't have a process parameter block */
wcscpy (FullNtDllPath, SharedUserData->NtSystemRoot);
wcscat (FullNtDllPath, L"\\system32\\smss.exe");
RtlCreateUnicodeString (&ExeModule->BaseDllName, RtlCreateUnicodeString (&ExeModule->BaseDllName,
L"smss.exe"); L"smss.exe");
RtlCreateUnicodeString (&ExeModule->FullDllName, RtlCreateUnicodeString (&ExeModule->FullDllName,
L"C:\\reactos\\system32\\smss.exe"); FullNtDllPath);
} }
ExeModule->Flags = 0; ExeModule->Flags = 0;