mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:43:12 +00:00
Fix SmpSetEnvironmentVariable return status
svn path=/trunk/; revision=32455
This commit is contained in:
parent
0c8475d7ca
commit
dba2342316
1 changed files with 1 additions and 3 deletions
|
@ -54,11 +54,9 @@ SmpSetEnvironmentVariable(IN PVOID Context,
|
||||||
ValueName);
|
ValueName);
|
||||||
RtlInitUnicodeString(&EnvValue,
|
RtlInitUnicodeString(&EnvValue,
|
||||||
(PWSTR)ValueData);
|
(PWSTR)ValueData);
|
||||||
RtlSetEnvironmentVariable(Context,
|
return RtlSetEnvironmentVariable(Context,
|
||||||
&EnvVariable,
|
&EnvVariable,
|
||||||
&EnvValue);
|
&EnvValue);
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue