Added extra debugging output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5643 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
afb8314a0e
commit
29d3fced6a
@ -28,9 +28,10 @@ status_t
|
||||
PhysicalPartition::MapBlock(uint32 logicalBlock, off_t &physicalBlock)
|
||||
{
|
||||
DEBUG_INIT_ETC("PhysicalPartition", ("%ld", logicalBlock));
|
||||
if (logicalBlock >= fLength)
|
||||
if (logicalBlock >= fLength) {
|
||||
PRINT(("invalid logical block: %ld, length: %ld\n", logicalBlock, fLength));
|
||||
return B_BAD_ADDRESS;
|
||||
else {
|
||||
} else {
|
||||
physicalBlock = fStart + logicalBlock;
|
||||
PRINT(("mapped %ld to %Ld\n", logicalBlock, physicalBlock));
|
||||
return B_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user