From 5731706583e7efecb8b93006eee53645456f76e2 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Mon, 18 Mar 2002 22:44:42 +0000 Subject: [PATCH] Fixed creation of environment variable SystemDrive. svn path=/trunk/; revision=2738 --- reactos/subsys/smss/init.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/smss/init.c b/reactos/subsys/smss/init.c index 4fa1f97b849..929b9aabf07 100644 --- a/reactos/subsys/smss/init.c +++ b/reactos/subsys/smss/init.c @@ -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);