mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 23:27:35 +00:00
ntoskrnl: Use the magic format string prefix for relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
01676c5dd6
commit
cd1f412d3a
|
@ -1295,15 +1295,12 @@ NTSTATUS WINAPI IoCallDriver( DEVICE_OBJECT *device, IRP *irp )
|
||||||
irpsp = --irp->Tail.Overlay.s.u2.CurrentStackLocation;
|
irpsp = --irp->Tail.Overlay.s.u2.CurrentStackLocation;
|
||||||
dispatch = device->DriverObject->MajorFunction[irpsp->MajorFunction];
|
dispatch = device->DriverObject->MajorFunction[irpsp->MajorFunction];
|
||||||
|
|
||||||
if (TRACE_ON(relay))
|
TRACE_(relay)( "\1Call driver dispatch %p (device=%p,irp=%p)\n", dispatch, device, irp );
|
||||||
DPRINTF( "%04x:Call driver dispatch %p (device=%p,irp=%p)\n",
|
|
||||||
GetCurrentThreadId(), dispatch, device, irp );
|
|
||||||
|
|
||||||
status = dispatch( device, irp );
|
status = dispatch( device, irp );
|
||||||
|
|
||||||
if (TRACE_ON(relay))
|
TRACE_(relay)( "\1Ret driver dispatch %p (device=%p,irp=%p) retval=%08x\n",
|
||||||
DPRINTF( "%04x:Ret driver dispatch %p (device=%p,irp=%p) retval=%08x\n",
|
dispatch, device, irp, status );
|
||||||
GetCurrentThreadId(), dispatch, device, irp, status );
|
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue