mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed creation of environment variable SystemDrive.
svn path=/trunk/; revision=2738
This commit is contained in:
parent
d09531b121
commit
5731706583
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: init.c,v 1.31 2002/03/18 16:16:47 ekohl Exp $
|
||||
/* $Id: init.c,v 1.32 2002/03/18 22:44:42 hbirr Exp $
|
||||
*
|
||||
* init.c - Session Manager initialization
|
||||
*
|
||||
|
@ -209,6 +209,8 @@ SmSetEnvironmentVariables (VOID)
|
|||
/* Set "SystemDrive = C:" */
|
||||
RtlInitUnicodeString (&EnvVariable,
|
||||
L"SystemDrive");
|
||||
RtlInitUnicodeString (&EnvValue,
|
||||
ValueBuffer);
|
||||
RtlSetEnvironmentVariable (&SmSystemEnvironment,
|
||||
&EnvVariable,
|
||||
&EnvValue);
|
||||
|
|
Loading…
Reference in a new issue