diff --git a/dll/win32/syssetup/security.c b/dll/win32/syssetup/security.c index 4ef67fbab3b..34bd9e4c987 100644 --- a/dll/win32/syssetup/security.c +++ b/dll/win32/syssetup/security.c @@ -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; }