Author: fireball
Date: Sun Dec 23 22:20:10 2007
New Revision: 31417
URL:
http://svn.reactos.org/svn/reactos?rev=31417&view=rev
Log:
- Fix typos and debug messages.
Modified:
trunk/reactos/subsystems/win32/win32k/ldr/loader.c
Modified: trunk/reactos/subsystems/win32/win32k/ldr/loader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ld…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ldr/loader.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ldr/loader.c Sun Dec 23 22:20:10 2007
@@ -225,7 +225,7 @@
/* the driver was not loaded before, so let's do that */
Status = ZwSetSystemInformation(SystemLoadGdiDriverInformation, &GdiDriverInfo,
sizeof(SYSTEM_GDI_DRIVER_INFORMATION));
if (!NT_SUCCESS(Status)) {
- DPRINT1("ZwSetSystemInformation faild with status 0x%lx\n", Status);
+ DPRINT1("ZwSetSystemInformation failed with Status 0x%lx\n", Status);
}
else {
hImageHandle = (HANDLE)GdiDriverInfo.ImageAddress;
@@ -269,15 +269,15 @@
{
NTSTATUS Status;
- DPRINT1("hModule=%x\n", hModule);
+ DPRINT("hModule 0x%x\n", hModule);
Status = ZwSetSystemInformation(SystemUnloadGdiDriverInformation,
&hModule, sizeof(HANDLE));
if(!NT_SUCCESS(Status))
{
- DPRINT1("%s: ZwSetSystemInformation failed with status %x.",
- __FUNCTION__, Status);
+ DPRINT1("ZwSetSystemInformation failed with status 0x%08X\n",
+ Status);
}
else
{