Author: gedmurphy
Date: Tue Oct 28 17:07:47 2014
New Revision: 65076
URL:
http://svn.reactos.org/svn/reactos?rev=65076&view=rev
Log:
[WINLOGON]
- Stop the log from being spammed when the session is idle and no screensaver is set
- Also checking if my login still works :)
Modified:
trunk/reactos/base/system/winlogon/screensaver.c
Modified: trunk/reactos/base/system/winlogon/screensaver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/scree…
==============================================================================
--- trunk/reactos/base/system/winlogon/screensaver.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/screensaver.c [iso-8859-1] Tue Oct 28 17:07:47
2014
@@ -277,7 +277,7 @@
&hCurrentUser);
if (rc != ERROR_SUCCESS)
{
- ERR("WL: RegOpenCurrentUser Error!\n");
+ ERR("WL: RegOpenCurrentUser error %lu\n", rc);
goto cleanup;
}
@@ -288,7 +288,7 @@
&hKey);
if (rc != ERROR_SUCCESS)
{
- ERR("WL: RegOpenKeyEx Error!\n");
+ ERR("WL: RegOpenKeyEx error %lu\n", rc);
goto cleanup;
}
@@ -300,7 +300,8 @@
&bufferSize);
if (rc != ERROR_SUCCESS || dwType != REG_SZ)
{
- ERR("WL: RegQueryValueEx Error!\n");
+ if (rc != ERROR_FILE_NOT_FOUND)
+ ERR("WL: RegQueryValueEx error %lu\n", rc);
goto cleanup;
}