[NTOSKRNL]
authorEric Kohl <eric.kohl@reactos.org>
Tue, 10 May 2011 12:31:11 +0000 (12:31 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Tue, 10 May 2011 12:31:11 +0000 (12:31 +0000)
Fix two typos, one spotted by Gabriel Ilardi and the other one spotted by me.

svn path=/trunk/; revision=51663

reactos/ntoskrnl/config/cmsysini.c

index 1d22e87..f6b3142 100644 (file)
@@ -1957,7 +1957,7 @@ CmpSetVersionData(VOID)
     InitializeObjectAttributes(&ObjectAttributes,
                                &KeyName,
                                OBJ_CASE_INSENSITIVE,
-                               0,
+                               NULL,
                                NULL);
 
     Status = NtCreateKey(&KeyHandle,
@@ -1969,7 +1969,7 @@ CmpSetVersionData(VOID)
                          NULL);
     if (!NT_SUCCESS(Status))
     {
-        DPRINT1("Failed to create key &wZ (Status: %08lx)\n", &KeyName, Status);
+        DPRINT1("Failed to create key %wZ (Status: %08lx)\n", &KeyName, Status);
         return;
     }