X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fntoskrnl%2Fex%2Finit.c;h=04f8e785d102afc72449814154bd1884e13afd76;hp=519f8400bf10ed7cd0fb343c8a4fa5980ab92bc7;hb=62ae426e15fddadc0fdded71dccac55cdd5da0c7;hpb=92e130d1cc204e322fec41d325ed4c38d10e6572;ds=sidebyside diff --git a/reactos/ntoskrnl/ex/init.c b/reactos/ntoskrnl/ex/init.c index 519f8400bf1..04f8e785d10 100644 --- a/reactos/ntoskrnl/ex/init.c +++ b/reactos/ntoskrnl/ex/init.c @@ -1853,7 +1853,7 @@ Phase1InitializationDiscard(IN PVOID Context) { /* Write the safe boot type */ RtlInitUnicodeString(&KeyName, L"OptionValue"); - ZwSetValueKey(OptionHandle, + NtSetValueKey(OptionHandle, &KeyName, 0, REG_DWORD, @@ -1866,7 +1866,7 @@ Phase1InitializationDiscard(IN PVOID Context) /* Remember this for later */ Disposition = TRUE; RtlInitUnicodeString(&KeyName, L"UseAlternateShell"); - ZwSetValueKey(OptionHandle, + NtSetValueKey(OptionHandle, &KeyName, 0, REG_DWORD,