[NTOSKRNL]

- Fix some DPRINTs. Spotted by VS11.

svn path=/trunk/; revision=55161
This commit is contained in:
Thomas Faber 2012-01-25 00:09:43 +00:00
parent e4c4891711
commit e724bc4582
4 changed files with 10 additions and 10 deletions

View file

@ -74,11 +74,11 @@ MiSimpleReadComplete
PMDL Mdl = Irp->MdlAddress;
/* Unlock MDL Pages, page 167. */
DPRINT("MiSimpleReadComplete %x\n", Irp);
DPRINT("MiSimpleReadComplete %p\n", Irp);
while (Mdl)
{
DPRINT("MDL Unlock %x\n", Mdl);
MmUnlockPages(Mdl);
DPRINT("MDL Unlock %p\n", Mdl);
MmUnlockPages(Mdl);
Mdl = Mdl->Next;
}
@ -123,8 +123,8 @@ MiSimpleRead
ASSERT(DeviceObject);
DPRINT
("PAGING READ: FileObject %x <%wZ> Offset %08x%08x Length %d\n",
&FileObject,
("PAGING READ: FileObject %p <%wZ> Offset %08x%08x Length %d\n",
FileObject,
&FileObject->FileName,
FileOffset->HighPart,
FileOffset->LowPart,
@ -215,8 +215,8 @@ _MiSimpleWrite
ASSERT(DeviceObject);
DPRINT
("PAGING WRITE: FileObject %x Offset %x Length %d (%s:%d)\n",
&FileObject,
("PAGING WRITE: FileObject %p Offset %x Length %d (%s:%d)\n",
FileObject,
FileOffset->LowPart,
Length,
File,

View file

@ -866,7 +866,7 @@ CcRosGetCacheSegment(PBCB Bcb,
*/
*UptoDate = current->Valid;
*BaseAddress = current->BaseAddress;
DPRINT("*BaseAddress 0x%.8X\n", *BaseAddress);
DPRINT("*BaseAddress %p\n", *BaseAddress);
*CacheSeg = current;
*BaseOffset = current->FileOffset;
return(STATUS_SUCCESS);

View file

@ -64,7 +64,7 @@ KiDumpTrapFrame(IN PKTRAP_FRAME TrapFrame)
DbgPrint("Ecx: %x\n", TrapFrame->Ecx);
DbgPrint("Eax: %x\n", TrapFrame->Eax);
DbgPrint("PreviousPreviousMode: %x\n", TrapFrame->PreviousPreviousMode);
DbgPrint("ExceptionList: %x\n", TrapFrame->ExceptionList);
DbgPrint("ExceptionList: %p\n", TrapFrame->ExceptionList);
DbgPrint("SegFs: %x\n", TrapFrame->SegFs);
DbgPrint("Edi: %x\n", TrapFrame->Edi);
DbgPrint("Esi: %x\n", TrapFrame->Esi);

View file

@ -398,7 +398,7 @@ ObpCalloutEnd(IN KIRQL CalloutIrql,
if (CalloutIrql != KeGetCurrentIrql())
{
/* Print error */
DbgPrint("OB: ObjectType: %wZ Procedure: %s Object: %08x\n",
DbgPrint("OB: ObjectType: %wZ Procedure: %s Object: %p\n",
&ObjectType->Name, Procedure, Object);
DbgPrint(" Returned at %x IRQL, but was called at %x IRQL\n",
KeGetCurrentIrql(), CalloutIrql);