Author: spetreolle
Date: Fri Feb 22 21:29:37 2008
New Revision: 32455
URL:
http://svn.reactos.org/svn/reactos?rev=32455&view=rev
Log:
Fix SmpSetEnvironmentVariable return status
Modified:
trunk/reactos/base/system/smss/initenv.c
Modified: trunk/reactos/base/system/smss/initenv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/initenv.c…
==============================================================================
--- trunk/reactos/base/system/smss/initenv.c (original)
+++ trunk/reactos/base/system/smss/initenv.c Fri Feb 22 21:29:37 2008
@@ -54,11 +54,9 @@
ValueName);
RtlInitUnicodeString(&EnvValue,
(PWSTR)ValueData);
- RtlSetEnvironmentVariable(Context,
+ return RtlSetEnvironmentVariable(Context,
&EnvVariable,
&EnvValue);
-
- return STATUS_SUCCESS;
}