Debug output cleanup

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4761 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder 2003-09-18 20:57:25 +00:00
parent 449b2f28bf
commit 3fc7b56501
2 changed files with 4 additions and 7 deletions

View File

@ -59,8 +59,8 @@ PartitionMap::Find(uint32 partitionNumber) const
SinglyLinkedList<Udf::udf_partition_descriptor>::ConstIterator i;
for (i = fList.Begin(); i != fList.End(); ++i) {
if (i->partition_number() == partitionNumber) {
PRINT(("found partition #%ld\n", partitionNumber));
DUMP(*i);
PRINT(("found partition #%ld, start == %ld, length == %ld\n", partitionNumber,
i->start(), i->length()));
return &(*i);
}
}

View File

@ -120,10 +120,6 @@ Volume::MapBlock(udf_long_address address, off_t *mappedBlock)
const udf_partition_descriptor* partition = fPartitionMap.Find(address.partition());
err = partition ? B_OK : B_BAD_ADDRESS;
if (!err) {
PRINT(("Offset(): %Ld, partition->start(): %ld, address.block(): %ld\n", Offset(),
partition->start(), address.block()));
PRINT(("partition:\n"));
PDUMP(partition);
*mappedBlock = partition->start() + address.block();
}
if (!err) {
@ -392,7 +388,8 @@ Volume::_WalkAnchorVolumeDescriptorSequences()
{
DEBUG_INIT(CF_PRIVATE | CF_VOLUME_OPS, "Volume");
const uint8 avds_location_count = 4;
const off_t avds_locations[avds_location_count] = { 256,
const off_t avds_locations[avds_location_count] = {
256,
Length()-256,
Length(),
512,