https://git.reactos.org/?p=reactos.git;a=commitdiff;h=402c98309469d57bff8fe35321e99358635ed15d

commit 402c98309469d57bff8fe35321e99358635ed15d
Author:     Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Fri Nov 16 20:00:30 2018 +0100
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Fri Nov 16 22:07:07 2018 +0100

    [SYSSETUP] Fix error message in ApplyRegistryValues()
    
    CID 1441398
---
 dll/win32/syssetup/security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/syssetup/security.c b/dll/win32/syssetup/security.c
index 4ef67fbab3..34bd9e4c98 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;
             }
 

Reply via email to