Author: hbelusca
Date: Thu Dec 4 23:15:18 2014
New Revision: 65562
URL:
http://svn.reactos.org/svn/reactos?rev=65562&view=rev
Log:
Fix some DPRINTs.
Modified:
trunk/reactos/win32ss/user/winsrv/consrv/condrv/graphics.c
trunk/reactos/win32ss/user/winsrv/consrv/console.c
trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guisettings.c
trunk/reactos/win32ss/user/winsrv/consrv/subsysreg.c
Modified: trunk/reactos/win32ss/user/winsrv/consrv/condrv/graphics.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/condrv/graphics.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/condrv/graphics.c [iso-8859-1] Thu Dec 4
23:15:18 2014
@@ -162,7 +162,7 @@
NULL);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to create a shared section ; Status =
%lu\n", Status);
+ DPRINT1("Error: Impossible to create a shared section, Status =
0x%08lx\n", Status);
NtClose(NewBuffer->ClientMutex);
NtClose(NewBuffer->Mutex);
ConsoleFreeHeap(NewBuffer->BitMapInfo);
@@ -187,7 +187,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n",
Status);
+ DPRINT1("Error: Impossible to map the shared section, Status =
0x%08lx\n", Status);
NtClose(NewBuffer->hSection);
NtClose(NewBuffer->ClientMutex);
NtClose(NewBuffer->Mutex);
@@ -214,7 +214,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n",
Status);
+ DPRINT1("Error: Impossible to map the shared section, Status =
0x%08lx\n", Status);
NtUnmapViewOfSection(NtCurrentProcess(), NewBuffer->BitMap);
NtClose(NewBuffer->hSection);
NtClose(NewBuffer->ClientMutex);
Modified: trunk/reactos/win32ss/user/winsrv/consrv/console.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/console.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/console.c [iso-8859-1] Thu Dec 4 23:15:18
2014
@@ -990,7 +990,7 @@
Length, &Length);
if (!NT_SUCCESS(Status))
{
- DPRINT1("SrvAttachConsole - Cannot retrieve basic process info, Status =
%lu\n", Status);
+ DPRINT1("SrvAttachConsole - Cannot retrieve basic process info, Status =
0x%08lx\n", Status);
return Status;
}
Modified: trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guisettings.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guisettings.c [iso-8859-1]
(original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/guisettings.c [iso-8859-1] Thu
Dec 4 23:15:18 2014
@@ -254,7 +254,7 @@
NULL);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to create a shared section ; Status =
%lu\n", Status);
+ DPRINT1("Error: Impossible to create a shared section, Status =
0x%08lx\n", Status);
goto Quit;
}
@@ -270,7 +270,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to map the shared section ; Status = %lu\n",
Status);
+ DPRINT1("Error: Impossible to map the shared section, Status =
0x%08lx\n", Status);
goto Quit;
}
@@ -365,7 +365,7 @@
0, 0, DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to duplicate section handle for client ; Status =
%lu\n", Status);
+ DPRINT1("Error: Impossible to duplicate section handle for client, Status =
0x%08lx\n", Status);
goto Quit;
}
@@ -401,7 +401,7 @@
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
Status = _SEH2_GetExceptionCode();
- DPRINT1("GuiConsoleShowConsoleProperties - Caught an exception, Status =
%08X\n", Status);
+ DPRINT1("GuiConsoleShowConsoleProperties - Caught an exception, Status =
0x%08lx\n", Status);
}
_SEH2_END;
}
@@ -442,7 +442,7 @@
0, 0, DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error when mapping client handle, Status = %lu\n", Status);
+ DPRINT1("Error when mapping client handle, Status = 0x%08lx\n",
Status);
goto Quit;
}
@@ -459,7 +459,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error when mapping view of file, Status = %lu\n", Status);
+ DPRINT1("Error when mapping view of file, Status = 0x%08lx\n",
Status);
goto Quit;
}
@@ -536,7 +536,7 @@
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
Status = _SEH2_GetExceptionCode();
- DPRINT1("GuiApplyUserSettings - Caught an exception, Status = %08X\n",
Status);
+ DPRINT1("GuiApplyUserSettings - Caught an exception, Status =
0x%08lx\n", Status);
}
_SEH2_END;
@@ -588,7 +588,7 @@
0, 0, DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error when mapping client handle, Status = %lu\n", Status);
+ DPRINT1("Error when mapping client handle, Status = 0x%08lx\n",
Status);
goto Quit;
}
@@ -605,7 +605,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error when mapping view of file, Status = %lu\n", Status);
+ DPRINT1("Error when mapping view of file, Status = 0x%08lx\n",
Status);
goto Quit;
}
@@ -720,7 +720,7 @@
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
Status = _SEH2_GetExceptionCode();
- DPRINT1("GuiApplyUserSettings - Caught an exception, Status = %08X\n",
Status);
+ DPRINT1("GuiApplyUserSettings - Caught an exception, Status =
0x%08lx\n", Status);
}
_SEH2_END;
Modified: trunk/reactos/win32ss/user/winsrv/consrv/subsysreg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
==============================================================================
--- trunk/reactos/win32ss/user/winsrv/consrv/subsysreg.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/winsrv/consrv/subsysreg.c [iso-8859-1] Thu Dec 4 23:15:18
2014
@@ -67,7 +67,7 @@
NULL);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to create a shared section ; Status =
%lu\n", Status);
+ DPRINT1("Error: Impossible to create a shared section, Status =
0x%08lx\n", Status);
goto Quit;
}
@@ -88,7 +88,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to map the shared section ; Status =
%lu\n", Status);
+ DPRINT1("Error: Impossible to map the shared section, Status =
0x%08lx\n", Status);
NtClose(Console->VDMBufferSection);
goto Quit;
}
@@ -111,7 +111,7 @@
PAGE_READWRITE);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Error: Impossible to map the shared section ; Status =
%lu\n", Status);
+ DPRINT1("Error: Impossible to map the shared section, Status =
0x%08lx\n", Status);
NtUnmapViewOfSection(NtCurrentProcess(), Console->VDMBuffer);
NtClose(Console->VDMBufferSection);
goto Quit;