diff --git a/drivers/filesystems/udfs/Include/phys_lib.cpp b/drivers/filesystems/udfs/Include/phys_lib.cpp index bba91e86d1c06..5e7fa18d1f749 100644 --- a/drivers/filesystems/udfs/Include/phys_lib.cpp +++ b/drivers/filesystems/udfs/Include/phys_lib.cpp @@ -976,7 +976,7 @@ try_exit: NOTHING; UDFPrint(("UDF: Last LBA in last session: %x\n",Vcb->LastLBA)); UDFPrint(("UDF: First writable LBA (NWA) in last session: %x\n",Vcb->NWA)); UDFPrint(("UDF: Last available LBA beyond end of last session: %x\n",Vcb->LastPossibleLBA)); - UDFPrint(("UDF: blocks per frame: %x\n",1 << Vcb->WCacheBlocksPerFrameSh)); + UDFPrint(("UDF: blocks per frame: %x\n", Vcb->WriteBlockSize >> Vcb->SectorShift)); UDFPrint(("UDF: Flags: %s%s\n", Vcb->VcbState & UDF_VCB_FLAGS_RAW_DISK ? "RAW " : "", Vcb->VcbState & VCB_STATE_VOLUME_READ_ONLY ? "R/O " : "WR " diff --git a/drivers/filesystems/udfs/write.cpp b/drivers/filesystems/udfs/write.cpp index 076e5a6cbe305..0171ead0fa093 100644 --- a/drivers/filesystems/udfs/write.cpp +++ b/drivers/filesystems/udfs/write.cpp @@ -560,7 +560,7 @@ UDFCommonWrite( // Send the request to lower level drivers if (!Wait) { - UDFPrint(("UDFCommonWrite: Post physical write %x bytes at %x\n", TruncatedLength, StartingOffset.LowPart)); + UDFPrint(("UDFCommonWrite: Post physical write %x bytes at %x\n", TruncatedLength, (ULONG)StartingOffset)); try_return(Status = STATUS_PENDING); }