Fix debug output
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
#include "Index.h"
|
#include "Index.h"
|
||||||
|
|
||||||
#include "DebugSupport.h"
|
#include "DebugSupport.h"
|
||||||
|
#include "Directory.h"
|
||||||
#include "Node.h"
|
#include "Node.h"
|
||||||
#include "IndexImpl.h"
|
#include "IndexImpl.h"
|
||||||
|
|
||||||
@@ -73,11 +74,13 @@ void
|
|||||||
Index::Dump()
|
Index::Dump()
|
||||||
{
|
{
|
||||||
D(
|
D(
|
||||||
PRINT(("Index: `%s', type: %lx\n", Name(), Type()));
|
PRINT("Index: `%s', type: %" B_PRIx32 "\n", Name(), Type());
|
||||||
for (IndexIterator it(this); it.Current(); it.Next()) {
|
IndexIterator it;
|
||||||
Node* node = it.Current();
|
if (GetIterator(it)) {
|
||||||
PRINT((" node: `%s', dir: %lld\n", node->GetName(),
|
while (Node* node = it.Next()) {
|
||||||
node->Parent()->ID()));
|
PRINT(" node: `%s', dir: %" B_PRIdINO "\n", node->Name(),
|
||||||
|
node->Parent()->ID());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user