use %lx for printing NTSTATUS
Modified: trunk/reactos/drivers/dd/green/pnp.c
_____
Modified: trunk/reactos/drivers/dd/green/pnp.c
--- trunk/reactos/drivers/dd/green/pnp.c 2005-10-30 22:33:26 UTC
(rev 18898)
+++ trunk/reactos/drivers/dd/green/pnp.c 2005-10-30 22:47:31 UTC
(rev 18899)
@@ -35,7 +35,7 @@
if (!NT_SUCCESS(Status))
{
- DPRINT1("Status = %08x\n", Status);
+ DPRINT1("Status = %08lx\n", Status);
return Status;
}
@@ -47,7 +47,7 @@
if (!NT_SUCCESS(Status))
{
IoDeleteDevice(Fdo);
- DPRINT1("Status = %08x\n", Status);
+ DPRINT1("Status = %08lx\n", Status);
return Status;
}
((PKEYBOARD_DEVICE_EXTENSION)DeviceExtension->Keyboard->DeviceExtension)
->Green = Fdo;
@@ -57,7 +57,7 @@
{
IoDeleteDevice(DeviceExtension->Keyboard);
IoDeleteDevice(Fdo);
- DPRINT1("Status = %08x\n", Status);
+ DPRINT1("Status = %08lx\n", Status);
return Status;
}
((PSCREEN_DEVICE_EXTENSION)DeviceExtension->Screen->DeviceExtension)->Gr
een = Fdo;
@@ -90,6 +90,6 @@
Fdo->Flags |= DO_POWER_PAGABLE | DO_BUFFERED_IO;
Fdo->Flags &= ~DO_DEVICE_INITIALIZING;
- DPRINT1("Status = %08x\n", Status);
+ DPRINT("Status = %08lx\n", Status);
return Status;
}
Show replies by date