- Fix a bug writing the DisableFirmwareMapper entry

svn path=/trunk/; revision=53248
This commit is contained in:
Cameron Gutman
2011-08-15 01:55:32 +00:00
parent 0819e297e7
commit 6da6061048
+3 -2
View File
@@ -62,6 +62,7 @@ HalpMarkAcpiHal(VOID)
UNICODE_STRING KeyString;
HANDLE KeyHandle;
HANDLE Handle;
ULONG Value = HalDisableFirmwareMapper ? 1 : 0;
/* Open the control set key */
RtlInitUnicodeString(&KeyString,
@@ -88,8 +89,8 @@ HalpMarkAcpiHal(VOID)
&KeyString,
0,
REG_DWORD,
&HalDisableFirmwareMapper,
sizeof(HalDisableFirmwareMapper));
&Value,
sizeof(Value));
/* Close subkey */
ZwClose(KeyHandle);