Author: cwittich Date: Wed Nov 21 19:50:07 2007 New Revision: 30636
URL: http://svn.reactos.org/svn/reactos?rev=30636&view=rev Log: fix some format strings
Modified: trunk/reactos/drivers/filesystems/vfat/blockdev.c trunk/reactos/drivers/filesystems/vfat/cleanup.c trunk/reactos/drivers/filesystems/vfat/close.c trunk/reactos/drivers/filesystems/vfat/create.c trunk/reactos/drivers/filesystems/vfat/dir.c trunk/reactos/drivers/filesystems/vfat/fat.c trunk/reactos/drivers/filesystems/vfat/finfo.c trunk/reactos/drivers/filesystems/vfat/flush.c trunk/reactos/drivers/filesystems/vfat/fsctl.c trunk/reactos/drivers/filesystems/vfat/misc.c trunk/reactos/drivers/filesystems/vfat/rw.c trunk/reactos/drivers/filesystems/vfat/shutdown.c trunk/reactos/drivers/filesystems/vfat/vfat.h trunk/reactos/drivers/filesystems/vfat/volume.c
Modified: trunk/reactos/drivers/filesystems/vfat/blockdev.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/bl... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/blockdev.c (original) +++ trunk/reactos/drivers/filesystems/vfat/blockdev.c Wed Nov 21 19:50:07 2007 @@ -14,6 +14,7 @@
/* FUNCTIONS ***************************************************************/
+static IO_COMPLETION_ROUTINE VfatReadWritePartialCompletion; static NTSTATUS NTAPI VfatReadWritePartialCompletion (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, @@ -66,7 +67,7 @@
KeInitializeEvent (&event, NotificationEvent, FALSE);
- DPRINT ("VfatReadDisk(pDeviceObject %x, Offset %I64x, Length %d, Buffer %x)\n", + DPRINT ("VfatReadDisk(pDeviceObject %p, Offset %I64x, Length %d, Buffer %p)\n", pDeviceObject, ReadOffset->QuadPart, ReadLength, Buffer);
DPRINT ("Building synchronous FSD Request...\n"); @@ -89,26 +90,26 @@ Stack->Flags |= SL_OVERRIDE_VERIFY_VOLUME; }
- DPRINT ("Calling IO Driver... with irp %x\n", Irp); + DPRINT ("Calling IO Driver... with irp %p\n", Irp); Status = IoCallDriver (pDeviceObject, Irp);
- DPRINT ("Waiting for IO Operation for %x\n", Irp); + DPRINT ("Waiting for IO Operation for %p\n", Irp); if (Status == STATUS_PENDING) { DPRINT ("Operation pending\n"); KeWaitForSingleObject (&event, Suspended, KernelMode, FALSE, NULL); - DPRINT ("Getting IO Status... for %x\n", Irp); + DPRINT ("Getting IO Status... for %p\n", Irp); Status = IoStatus.Status; }
if (!NT_SUCCESS (Status)) { DPRINT ("IO failed!!! VfatReadDisk : Error code: %x\n", Status); - DPRINT ("(pDeviceObject %x, Offset %I64x, Size %d, Buffer %x\n", + DPRINT ("(pDeviceObject %p, Offset %I64x, Size %d, Buffer %p\n", pDeviceObject, ReadOffset->QuadPart, ReadLength, Buffer); return (Status); } - DPRINT ("Block request succeeded for %x\n", Irp); + DPRINT ("Block request succeeded for %p\n", Irp); return (STATUS_SUCCESS); }
@@ -124,7 +125,7 @@ NTSTATUS Status; PVOID Buffer;
- DPRINT ("VfatReadDiskPartial(IrpContext %x, ReadOffset %I64x, ReadLength %d, BufferOffset %x, Wait %d)\n", + DPRINT ("VfatReadDiskPartial(IrpContext %p, ReadOffset %I64x, ReadLength %d, BufferOffset %x, Wait %d)\n", IrpContext, ReadOffset->QuadPart, ReadLength, BufferOffset, Wait);
DPRINT ("Building asynchronous FSD Request...\n"); @@ -178,7 +179,7 @@ InterlockedIncrement((PLONG)&IrpContext->RefCount); }
- DPRINT ("Calling IO Driver... with irp %x\n", Irp); + DPRINT ("Calling IO Driver... with irp %p\n", Irp); Status = IoCallDriver (IrpContext->DeviceExt->StorageDevice, Irp);
if (Wait && Status == STATUS_PENDING) @@ -204,7 +205,7 @@ NTSTATUS Status; PVOID Buffer;
- DPRINT ("VfatWriteDiskPartial(IrpContext %x, WriteOffset %I64x, WriteLength %d, BufferOffset %x, Wait %d)\n", + DPRINT ("VfatWriteDiskPartial(IrpContext %p, WriteOffset %I64x, WriteLength %d, BufferOffset %x, Wait %d)\n", IrpContext, WriteOffset->QuadPart, WriteLength, BufferOffset, Wait);
Buffer = (PCHAR)MmGetMdlVirtualAddress(IrpContext->Irp->MdlAddress) + BufferOffset; @@ -283,9 +284,9 @@ IO_STATUS_BLOCK IoStatus; NTSTATUS Status;
- DPRINT("VfatBlockDeviceIoControl(DeviceObject %x, CtlCode %x, " - "InputBuffer %x, InputBufferSize %x, OutputBuffer %x, " - "OutputBufferSize %x (%x)\n", DeviceObject, CtlCode, + DPRINT("VfatBlockDeviceIoControl(DeviceObject %p, CtlCode %x, " + "InputBuffer %p, InputBufferSize %x, OutputBuffer %p, " + "OutputBufferSize %p (%x)\n", DeviceObject, CtlCode, InputBuffer, InputBufferSize, OutputBuffer, OutputBufferSize, OutputBufferSize ? *OutputBufferSize : 0);
@@ -313,15 +314,15 @@ Stack->Flags |= SL_OVERRIDE_VERIFY_VOLUME; }
- DPRINT ("Calling IO Driver... with irp %x\n", Irp); + DPRINT ("Calling IO Driver... with irp %p\n", Irp); Status = IoCallDriver(DeviceObject, Irp);
- DPRINT ("Waiting for IO Operation for %x\n", Irp); + DPRINT ("Waiting for IO Operation for %p\n", Irp); if (Status == STATUS_PENDING) { DPRINT ("Operation pending\n"); KeWaitForSingleObject (&Event, Suspended, KernelMode, FALSE, NULL); - DPRINT ("Getting IO Status... for %x\n", Irp); + DPRINT ("Getting IO Status... for %p\n", Irp);
Status = IoStatus.Status; }
Modified: trunk/reactos/drivers/filesystems/vfat/cleanup.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/cl... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/cleanup.c (original) +++ trunk/reactos/drivers/filesystems/vfat/cleanup.c Wed Nov 21 19:50:07 2007 @@ -22,7 +22,7 @@ PVFATFCB pFcb; PFILE_OBJECT FileObject = IrpContext->FileObject;
- DPRINT("VfatCleanupFile(DeviceExt %x, FileObject %x)\n", + DPRINT("VfatCleanupFile(DeviceExt %p, FileObject %p)\n", IrpContext->DeviceExt, FileObject);
/* FIXME: handle file/directory deletion here */ @@ -122,7 +122,7 @@ { NTSTATUS Status;
- DPRINT("VfatCleanup(DeviceObject %x, Irp %x)\n", IrpContext->DeviceObject, IrpContext->Irp); + DPRINT("VfatCleanup(DeviceObject %p, Irp %p)\n", IrpContext->DeviceObject, IrpContext->Irp);
if (IrpContext->DeviceObject == VfatGlobalData->DeviceObject) {
Modified: trunk/reactos/drivers/filesystems/vfat/close.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/cl... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/close.c (original) +++ trunk/reactos/drivers/filesystems/vfat/close.c Wed Nov 21 19:50:07 2007 @@ -23,7 +23,7 @@ PVFATCCB pCcb; NTSTATUS Status = STATUS_SUCCESS;
- DPRINT ("VfatCloseFile(DeviceExt %x, FileObject %x)\n", + DPRINT ("VfatCloseFile(DeviceExt %p, FileObject %p)\n", DeviceExt, FileObject);
/* FIXME : update entry in directory? */ @@ -76,7 +76,7 @@ { NTSTATUS Status;
- DPRINT ("VfatClose(DeviceObject %x, Irp %x)\n", IrpContext->DeviceObject, IrpContext->Irp); + DPRINT ("VfatClose(DeviceObject %p, Irp %p)\n", IrpContext->DeviceObject, IrpContext->Irp);
if (IrpContext->DeviceObject == VfatGlobalData->DeviceObject) {
Modified: trunk/reactos/drivers/filesystems/vfat/create.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/cr... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/create.c (original) +++ trunk/reactos/drivers/filesystems/vfat/create.c Wed Nov 21 19:50:07 2007 @@ -196,7 +196,7 @@ UNICODE_STRING FileToFindUpcase; BOOLEAN WildCard;
- DPRINT ("FindFile(Parent %x, FileToFind '%wZ', DirIndex: %d)\n", + DPRINT ("FindFile(Parent %p, FileToFind '%wZ', DirIndex: %d)\n", Parent, FileToFindU, DirContext->DirIndex); DPRINT ("FindFile: Path %wZ)\n",&Parent->PathNameU);
@@ -350,7 +350,7 @@ PVFATFCB Fcb; NTSTATUS Status;
- DPRINT ("VfatOpenFile(%08lx, '%wZ', %08lx, %08lx)\n", DeviceExt, PathNameU, FileObject, ParentFcb); + DPRINT ("VfatOpenFile(%p, '%wZ', %p, %p)\n", DeviceExt, PathNameU, FileObject, ParentFcb);
if (FileObject->RelatedFileObject) {
Modified: trunk/reactos/drivers/filesystems/vfat/dir.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/di... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/dir.c (original) +++ trunk/reactos/drivers/filesystems/vfat/dir.c Wed Nov 21 19:50:07 2007 @@ -389,7 +389,7 @@ DirContext.DirIndex = pCcb->Entry; }
- DPRINT ("Buffer=%x tofind=%wZ\n", Buffer, &pCcb->SearchPattern); + DPRINT ("Buffer=%p tofind=%wZ\n", Buffer, &pCcb->SearchPattern);
DirContext.LongNameU.Buffer = LongNameBuffer; DirContext.LongNameU.MaximumLength = sizeof(LongNameBuffer);
Modified: trunk/reactos/drivers/filesystems/vfat/fat.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/fa... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/fat.c (original) +++ trunk/reactos/drivers/filesystems/vfat/fat.c Wed Nov 21 19:50:07 2007 @@ -626,7 +626,7 @@ { NTSTATUS Status;
- DPRINT ("GetNextCluster(DeviceExt %x, CurrentCluster %x)\n", + DPRINT ("GetNextCluster(DeviceExt %p, CurrentCluster %x)\n", DeviceExt, CurrentCluster);
if (CurrentCluster == 0) @@ -649,7 +649,7 @@ { NTSTATUS Status;
- DPRINT ("GetNextClusterExtend(DeviceExt %x, CurrentCluster %x)\n", + DPRINT ("GetNextClusterExtend(DeviceExt %p, CurrentCluster %x)\n", DeviceExt, CurrentCluster);
ExAcquireResourceExclusiveLite(&DeviceExt->FatResource, TRUE);
Modified: trunk/reactos/drivers/filesystems/vfat/finfo.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/fi... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/finfo.c (original) +++ trunk/reactos/drivers/filesystems/vfat/finfo.c Wed Nov 21 19:50:07 2007 @@ -104,7 +104,7 @@ { DPRINT ("FsdSetPositionInformation()\n");
- DPRINT ("PositionInfo %x\n", PositionInfo); + DPRINT ("PositionInfo %p\n", PositionInfo); DPRINT ("Setting position %d\n", PositionInfo->CurrentByteOffset.u.LowPart);
FileObject->CurrentByteOffset.QuadPart = @@ -868,7 +868,7 @@ /* PRECONDITION */ ASSERT(IrpContext);
- DPRINT("VfatSetInformation(IrpContext %x)\n", IrpContext); + DPRINT("VfatSetInformation(IrpContext %p)\n", IrpContext);
/* INITIALIZATION */ FileInformationClass = @@ -880,7 +880,7 @@ FileInformationClass >= FileMaximumInformation - 1 ? "????" : FileInformationClassNames[ FileInformationClass]);
DPRINT("FileInformationClass %d\n", FileInformationClass); - DPRINT("SystemBuffer %x\n", SystemBuffer); + DPRINT("SystemBuffer %p\n", SystemBuffer);
if (!(FCB->Flags & FCB_IS_PAGE_FILE)) {
Modified: trunk/reactos/drivers/filesystems/vfat/flush.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/fl... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/flush.c (original) +++ trunk/reactos/drivers/filesystems/vfat/flush.c Wed Nov 21 19:50:07 2007 @@ -18,7 +18,7 @@ IO_STATUS_BLOCK IoStatus; NTSTATUS Status;
- DPRINT("VfatFlushFile(DeviceExt %x, Fcb %x) for '%wZ'\n", DeviceExt, Fcb, &Fcb->PathNameU); + DPRINT("VfatFlushFile(DeviceExt %p, Fcb %p) for '%wZ'\n", DeviceExt, Fcb, &Fcb->PathNameU);
CcFlushCache(&Fcb->SectionObjectPointers, NULL, 0, &IoStatus); if (IoStatus.Status == STATUS_INVALID_PARAMETER) @@ -43,7 +43,7 @@ PVFATFCB Fcb; NTSTATUS Status, ReturnStatus = STATUS_SUCCESS;
- DPRINT("VfatFlushVolume(DeviceExt %x, FatFcb %x)\n", DeviceExt, VolumeFcb); + DPRINT("VfatFlushVolume(DeviceExt %p, FatFcb %p)\n", DeviceExt, VolumeFcb);
ListEntry = DeviceExt->FcbListHead.Flink; while (ListEntry != &DeviceExt->FcbListHead)
Modified: trunk/reactos/drivers/filesystems/vfat/fsctl.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/fs... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/fsctl.c (original) +++ trunk/reactos/drivers/filesystems/vfat/fsctl.c Wed Nov 21 19:50:07 2007 @@ -379,7 +379,7 @@ ULONG eocMark; FATINFO FatInfo;
- DPRINT("VfatMount(IrpContext %x)\n", IrpContext); + DPRINT("VfatMount(IrpContext %p)\n", IrpContext);
ASSERT(IrpContext);
@@ -504,7 +504,7 @@ DeviceObject->StackSize = DeviceExt->StorageDevice->StackSize + 1; DeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
- DPRINT("FsDeviceObject %lx\n", DeviceObject); + DPRINT("FsDeviceObject %p\n", DeviceObject);
DeviceExt->FATFileObject = IoCreateStreamFileObject(NULL, DeviceExt->StorageDevice); Fcb = vfatNewFCB(DeviceExt, &NameU); @@ -631,7 +631,7 @@ BOOLEAN RecognizedFS; PDEVICE_EXTENSION DeviceExt = IrpContext->DeviceExt;
- DPRINT("VfatVerify(IrpContext %x)\n", IrpContext); + DPRINT("VfatVerify(IrpContext %p)\n", IrpContext);
DeviceToVerify = IrpContext->Stack->Parameters.VerifyVolume.DeviceObject; Status = VfatBlockDeviceIoControl(DeviceToVerify, @@ -677,7 +677,7 @@ static NTSTATUS VfatGetVolumeBitmap(PVFAT_IRP_CONTEXT IrpContext) { - DPRINT("VfatGetVolumeBitmap (IrpContext %x)\n", IrpContext); + DPRINT("VfatGetVolumeBitmap (IrpContext %p)\n", IrpContext);
return STATUS_INVALID_DEVICE_REQUEST; } @@ -698,7 +698,7 @@ ULONG LastCluster; NTSTATUS Status;
- DPRINT("VfatGetRetrievalPointers(IrpContext %x)\n", IrpContext); + DPRINT("VfatGetRetrievalPointers(IrpContext %p)\n", IrpContext);
DeviceExt = IrpContext->DeviceExt; FileObject = IrpContext->FileObject; @@ -779,7 +779,7 @@ static NTSTATUS VfatMoveFile(PVFAT_IRP_CONTEXT IrpContext) { - DPRINT("VfatMoveFile(IrpContext %x)\n", IrpContext); + DPRINT("VfatMoveFile(IrpContext %p)\n", IrpContext);
return STATUS_INVALID_DEVICE_REQUEST; } @@ -792,7 +792,7 @@ PROS_QUERY_LCN_MAPPING LcnQuery; PIO_STACK_LOCATION Stack;
- DPRINT("VfatRosQueryLcnMapping(IrpContext %x)\n", IrpContext); + DPRINT("VfatRosQueryLcnMapping(IrpContext %p)\n", IrpContext);
DeviceExt = IrpContext->DeviceExt; Stack = IrpContext->Stack; @@ -813,7 +813,7 @@ { PULONG Flags;
- DPRINT("VfatIsVolumeDirty(IrpContext %x)\n", IrpContext); + DPRINT("VfatIsVolumeDirty(IrpContext %p)\n", IrpContext);
if (IrpContext->Stack->Parameters.FileSystemControl.OutputBufferLength != sizeof(ULONG)) return STATUS_INVALID_BUFFER_SIZE; @@ -839,7 +839,7 @@ PDEVICE_EXTENSION DeviceExt; NTSTATUS Status = STATUS_SUCCESS;
- DPRINT("VfatMarkVolumeDirty(IrpContext %x)\n", IrpContext); + DPRINT("VfatMarkVolumeDirty(IrpContext %p)\n", IrpContext); DeviceExt = IrpContext->DeviceExt;
if (!(DeviceExt->VolumeFcb->Flags & VCB_IS_DIRTY)) @@ -866,7 +866,7 @@
NTSTATUS Status;
- DPRINT("VfatFileSystemControl(IrpContext %x)\n", IrpContext); + DPRINT("VfatFileSystemControl(IrpContext %p)\n", IrpContext);
ASSERT(IrpContext); ASSERT(IrpContext->Irp);
Modified: trunk/reactos/drivers/filesystems/vfat/misc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/mi... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/misc.c (original) +++ trunk/reactos/drivers/filesystems/vfat/misc.c Wed Nov 21 19:50:07 2007 @@ -58,7 +58,7 @@ PVFATFCB Fcb; NTSTATUS Status;
- DPRINT("VfatLockControl(IrpContext %x)\n", IrpContext); + DPRINT("VfatLockControl(IrpContext %p)\n", IrpContext);
ASSERT(IrpContext);
@@ -94,7 +94,7 @@ static NTSTATUS VfatDispatchRequest (IN PVFAT_IRP_CONTEXT IrpContext) { - DPRINT ("VfatDispatchRequest (IrpContext %x), is called for %s\n", IrpContext, + DPRINT ("VfatDispatchRequest (IrpContext %p), is called for %s\n", IrpContext, IrpContext->MajorFunction >= IRP_MJ_MAXIMUM_FUNCTION ? "????" : MajorFunctionNames[IrpContext->MajorFunction]);
ASSERT(IrpContext); @@ -144,7 +144,7 @@ PVFAT_IRP_CONTEXT IrpContext; KIRQL Irql;
- DPRINT ("VfatBuildRequest (DeviceObject %x, Irp %x)\n", DeviceObject, Irp); + DPRINT ("VfatBuildRequest (DeviceObject %p, Irp %p)\n", DeviceObject, Irp);
ASSERT(DeviceObject); ASSERT(Irp); @@ -188,7 +188,7 @@ PVFAT_IRP_CONTEXT IrpContext; /*PIO_STACK_LOCATION Stack;*/ UCHAR MajorFunction; - DPRINT ("VfatAllocateIrpContext(DeviceObject %x, Irp %x)\n", DeviceObject, Irp); + DPRINT ("VfatAllocateIrpContext(DeviceObject %p, Irp %p)\n", DeviceObject, Irp);
ASSERT(DeviceObject); ASSERT(Irp); @@ -227,7 +227,7 @@ static VOID NTAPI VfatDoRequest (PVOID IrpContext) { InterlockedDecrement(&QueueCount); - DPRINT ("VfatDoRequest (IrpContext %x), MajorFunction %x, %d\n", IrpContext, ((PVFAT_IRP_CONTEXT)IrpContext)->MajorFunction, QueueCount); + DPRINT ("VfatDoRequest (IrpContext %p), MajorFunction %x, %d\n", IrpContext, ((PVFAT_IRP_CONTEXT)IrpContext)->MajorFunction, QueueCount); FsRtlEnterFileSystem(); VfatDispatchRequest((PVFAT_IRP_CONTEXT)IrpContext); FsRtlExitFileSystem(); @@ -237,7 +237,7 @@ NTSTATUS VfatQueueRequest(PVFAT_IRP_CONTEXT IrpContext) { InterlockedIncrement(&QueueCount); - DPRINT ("VfatQueueRequest (IrpContext %x), %d\n", IrpContext, QueueCount); + DPRINT ("VfatQueueRequest (IrpContext %p), %d\n", IrpContext, QueueCount);
ASSERT(IrpContext != NULL); ASSERT(IrpContext->Irp != NULL);
Modified: trunk/reactos/drivers/filesystems/vfat/rw.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/rw... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/rw.c (original) +++ trunk/reactos/drivers/filesystems/vfat/rw.c Wed Nov 21 19:50:07 2007 @@ -139,7 +139,7 @@ ASSERT(IrpContext->FileObject); ASSERT(IrpContext->FileObject->FsContext2 != NULL);
- DPRINT("VfatReadFileData(DeviceExt %x, FileObject %x, " + DPRINT("VfatReadFileData(DeviceExt %p, FileObject %p, " "Length %d, ReadOffset 0x%I64x)\n", DeviceExt, IrpContext->FileObject, Length, ReadOffset.QuadPart);
@@ -358,7 +358,7 @@ BytesPerCluster = DeviceExt->FatInfo.BytesPerCluster; BytesPerSector = DeviceExt->FatInfo.BytesPerSector;
- DPRINT("VfatWriteFileData(DeviceExt %x, FileObject %x, " + DPRINT("VfatWriteFileData(DeviceExt %p, FileObject %p, " "Length %d, WriteOffset 0x%I64x), '%wZ'\n", DeviceExt, IrpContext->FileObject, Length, WriteOffset, &Fcb->PathNameU); @@ -547,7 +547,7 @@
ASSERT(IrpContext);
- DPRINT("VfatRead(IrpContext %x)\n", IrpContext); + DPRINT("VfatRead(IrpContext %p)\n", IrpContext);
ASSERT(IrpContext->DeviceObject);
@@ -789,7 +789,7 @@
ASSERT(IrpContext);
- DPRINT("VfatWrite(IrpContext %x)\n", IrpContext); + DPRINT("VfatWrite(IrpContext %p)\n", IrpContext);
ASSERT(IrpContext->DeviceObject);
Modified: trunk/reactos/drivers/filesystems/vfat/shutdown.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/sh... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/shutdown.c (original) +++ trunk/reactos/drivers/filesystems/vfat/shutdown.c Wed Nov 21 19:50:07 2007 @@ -49,7 +49,7 @@ PDEVICE_EXTENSION DeviceExt; ULONG eocMark;
- DPRINT("VfatShutdown(DeviceObject %x, Irp %x)\n",DeviceObject, Irp); + DPRINT("VfatShutdown(DeviceObject %p, Irp %p)\n",DeviceObject, Irp);
/* FIXME: block new mount requests */
Modified: trunk/reactos/drivers/filesystems/vfat/vfat.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/vf... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/vfat.h (original) +++ trunk/reactos/drivers/filesystems/vfat/vfat.h Wed Nov 21 19:50:07 2007 @@ -463,6 +463,7 @@
/* ------------------------------------------------------ shutdown.c */
+DRIVER_DISPATCH VfatShutdown; NTSTATUS NTAPI VfatShutdown (PDEVICE_OBJECT DeviceObject, PIRP Irp);
@@ -762,6 +763,7 @@
VOID VfatFreeIrpContext(PVFAT_IRP_CONTEXT IrpContext);
+DRIVER_DISPATCH VfatBuildRequest; NTSTATUS NTAPI VfatBuildRequest (PDEVICE_OBJECT DeviceObject, PIRP Irp);
Modified: trunk/reactos/drivers/filesystems/vfat/volume.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/vfat/vo... ============================================================================== --- trunk/reactos/drivers/filesystems/vfat/volume.c (original) +++ trunk/reactos/drivers/filesystems/vfat/volume.c Wed Nov 21 19:50:07 2007 @@ -306,7 +306,7 @@ /* PRECONDITION */ ASSERT(IrpContext);
- DPRINT("VfatQueryVolumeInformation(IrpContext %x)\n", IrpContext); + DPRINT("VfatQueryVolumeInformation(IrpContext %p)\n", IrpContext);
if (!ExAcquireResourceSharedLite(&((PDEVICE_EXTENSION)IrpContext->DeviceObject->DeviceExtension)->DirResource, (BOOLEAN)(IrpContext->Flags & IRPCONTEXT_CANWAIT))) @@ -321,7 +321,7 @@
DPRINT ("FsInformationClass %d\n", FsInformationClass); - DPRINT ("SystemBuffer %x\n", SystemBuffer); + DPRINT ("SystemBuffer %p\n", SystemBuffer);
switch (FsInformationClass) { @@ -380,7 +380,7 @@ /* PRECONDITION */ ASSERT(IrpContext);
- DPRINT ("VfatSetVolumeInformation(IrpContext %x)\n", IrpContext); + DPRINT ("VfatSetVolumeInformation(IrpContext %p)\n", IrpContext);
if (!ExAcquireResourceExclusiveLite(&((PDEVICE_EXTENSION)IrpContext->DeviceObject->DeviceExtension)->DirResource, (BOOLEAN)(IrpContext->Flags & IRPCONTEXT_CANWAIT))) @@ -394,7 +394,7 @@
DPRINT ("FsInformationClass %d\n", FsInformationClass); DPRINT ("BufferLength %d\n", BufferLength); - DPRINT ("SystemBuffer %x\n", SystemBuffer); + DPRINT ("SystemBuffer %p\n", SystemBuffer);
switch(FsInformationClass) {