From 0e4840598efb6167dae151db414072dfb061d276 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 22 Mar 2003 18:45:20 +0000 Subject: [PATCH] Fix typo. svn path=/trunk/; revision=4397 --- reactos/ntoskrnl/cm/regfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/cm/regfile.c b/reactos/ntoskrnl/cm/regfile.c index 1a9a1d3d3fa..6e751e5daf7 100644 --- a/reactos/ntoskrnl/cm/regfile.c +++ b/reactos/ntoskrnl/cm/regfile.c @@ -1124,7 +1124,7 @@ CmiCreateRegistryHive(PWSTR Filename, ExAcquireResourceExclusiveLite(&CmiHiveListLock, TRUE); /* Add the new hive to the hive list */ - InsertHeadList(&CmiHiveListHead, &Hive->HiveList); + InsertTailList(&CmiHiveListHead, &Hive->HiveList); /* Release hive list lock */ ExReleaseResourceLite(&CmiHiveListLock); @@ -2492,7 +2492,7 @@ CmiAddValueToKey(IN PREGISTRY_HIVE RegistryHive, KeyCell->NumberOfValues, (ULONG)ABS_VALUE(ValueListCell->CellSize), ((ULONG)ABS_VALUE(ValueListCell->CellSize) - 4) / sizeof(BLOCK_OFFSET), - ((ULONG)ABS_VALUS(ValueListCell->CellSize) - 4) / sizeof(BLOCK_OFFSET)); + ((ULONG)ABS_VALUE(ValueListCell->CellSize) - 4) / sizeof(BLOCK_OFFSET)); ValueListCell->Values[KeyCell->NumberOfValues] = VBOffset; KeyCell->NumberOfValues++;