From f894411e3999defaaef614ad53eb283f7e5d560a Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 19 Apr 2013 09:59:50 +0000 Subject: [PATCH] [msgina] - Promote some debug messages to errors in order to understand why trying to open the task manager from the loged on dialog sometimes fails svn path=/trunk/; revision=58786 --- reactos/dll/win32/msgina/msgina.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/dll/win32/msgina/msgina.c b/reactos/dll/win32/msgina/msgina.c index b44773f666e..18488bd5c6d 100644 --- a/reactos/dll/win32/msgina/msgina.c +++ b/reactos/dll/win32/msgina/msgina.c @@ -268,14 +268,14 @@ WlxStartApplication( len = GetWindowsDirectoryW(CurrentDirectory, MAX_PATH); if (len == 0 || len > MAX_PATH) { - WARN("GetWindowsDirectoryW() failed\n"); + ERR("GetWindowsDirectoryW() failed\n"); return FALSE; } ret = DuplicateTokenEx(pgContext->UserToken, MAXIMUM_ALLOWED, NULL, SecurityImpersonation, TokenPrimary, &hAppToken); if (!ret) { - WARN("DuplicateTokenEx() failed with error %lu\n", GetLastError()); + ERR("DuplicateTokenEx() failed with error %lu\n", GetLastError()); return FALSE; } @@ -290,7 +290,7 @@ WlxStartApplication( len = GetWindowsDirectoryW(CurrentDirectory, MAX_PATH); if (len == 0 || len > MAX_PATH) { - WARN("GetWindowsDirectoryW() failed\n"); + ERR("GetWindowsDirectoryW() failed\n"); return FALSE; } ret = CreateProcessAsUserW( @@ -309,7 +309,7 @@ WlxStartApplication( CloseHandle(ProcessInformation.hThread); CloseHandle(hAppToken); if (!ret) - WARN("CreateProcessAsUserW() failed with error %lu\n", GetLastError()); + ERR("CreateProcessAsUserW() failed with error %lu\n", GetLastError()); return ret; }