diff --git a/reactos/ntoskrnl/cm/regfile.c b/reactos/ntoskrnl/cm/regfile.c index 3292def2253..54e41ecab84 100644 --- a/reactos/ntoskrnl/cm/regfile.c +++ b/reactos/ntoskrnl/cm/regfile.c @@ -859,8 +859,8 @@ CmiInitNonVolatileRegistryHive (PREGISTRY_HIVE RegistryHive, ULONG ViewSize; NTSTATUS Status; - DPRINT("CmiInitNonVolatileRegistryHive(%p, %S, %d) called\n", - RegistryHive, Filename, CreateNew); + DPRINT("CmiInitNonVolatileRegistryHive(%p, %S) called\n", + RegistryHive, Filename); /* Duplicate Filename */ Status = RtlCreateUnicodeString(&RegistryHive->HiveFileName, @@ -1042,8 +1042,8 @@ CmiInitNonVolatileRegistryHive (PREGISTRY_HIVE RegistryHive, return Status; } - DPRINT("CmiInitNonVolatileRegistryHive(%p, %S, %d) - Finished.\n", - RegistryHive, Filename, CreateNew); + DPRINT("CmiInitNonVolatileRegistryHive(%p, %S) - Finished.\n", + RegistryHive, Filename); return(STATUS_SUCCESS); } diff --git a/reactos/ntoskrnl/cm/regobj.c b/reactos/ntoskrnl/cm/regobj.c index c9fe732862c..0195f948961 100644 --- a/reactos/ntoskrnl/cm/regobj.c +++ b/reactos/ntoskrnl/cm/regobj.c @@ -146,7 +146,7 @@ CmiObjectParse(PVOID ParsedObject, } /* Create new key object and put into linked list */ - DPRINT("CmiObjectParse: %s\n", cPath); + DPRINT("CmiObjectParse: %s\n", Path); Status = ObRosCreateObject(NULL, STANDARD_RIGHTS_REQUIRED, NULL,