[NTOSKRNL]

- Fix the type passed to ZwSetValueKey

svn path=/trunk/; revision=46712
This commit is contained in:
Cameron Gutman 2010-04-04 05:17:29 +00:00
parent 38bae887c2
commit 141ca81c82

View file

@ -3316,7 +3316,7 @@ IopEnumerateDetectedDevices(
BootResourcesLength); BootResourcesLength);
/* Save boot resources to 'LogConf\BootConfig' */ /* Save boot resources to 'LogConf\BootConfig' */
Status = ZwSetValueKey(hLogConf, &BootConfigU, 0, REG_FULL_RESOURCE_DESCRIPTOR, CmResourceList, BootResourcesLength + sizeof(ULONG)); Status = ZwSetValueKey(hLogConf, &BootConfigU, 0, REG_RESOURCE_LIST, CmResourceList, BootResourcesLength + sizeof(ULONG));
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
DPRINT("ZwSetValueKey() failed with status 0x%08lx\n", Status); DPRINT("ZwSetValueKey() failed with status 0x%08lx\n", Status);