Fix typo.

svn path=/trunk/; revision=4397
This commit is contained in:
Eric Kohl 2003-03-22 18:45:20 +00:00
parent 5aa85e8ac2
commit 0e4840598e

View file

@ -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++;