[SYSSETUP] Fix error message in ApplyRegistryValues()
[reactos.git] / dll / win32 / syssetup / security.c
index 4ef67fb..34bd9e4 100644 (file)
@@ -463,7 +463,7 @@ ApplyRegistryValues(
                                   1,
                                   (PINT)&dwType))
             {
-                DPRINT1("Failed to create the key %S (Error %lu)\n", szKeyName, dwError);
+                DPRINT1("Failed to get key type (Error %lu)\n", GetLastError());
                 break;
             }