Slightly improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15656 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
78f2557c8f
commit
bdf1da4d6e
@ -116,8 +116,8 @@ CachedNode::SetTo(off_t offset, bool check)
|
||||
if (InternalSetTo(NULL, offset) != NULL && check) {
|
||||
// sanity checks (links, all_key_count)
|
||||
if (!fTree->fHeader->CheckNode(fNode)) {
|
||||
FATAL(("invalid node read from offset %Ld, inode at %Ld\n",
|
||||
offset, fTree->fStream->ID()));
|
||||
FATAL(("invalid node (%p) read from offset %Ld, inode at %Ld\n",
|
||||
fNode, offset, fTree->fStream->ID()));
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
@ -146,8 +146,8 @@ CachedNode::SetToWritable(Transaction &transaction, off_t offset, bool check)
|
||||
if (InternalSetTo(&transaction, offset) != NULL && check) {
|
||||
// sanity checks (links, all_key_count)
|
||||
if (!fTree->fHeader->CheckNode(fNode)) {
|
||||
FATAL(("invalid node read from offset %Ld, inode at %Ld\n",
|
||||
offset, fTree->fStream->ID()));
|
||||
FATAL(("invalid node [%p] read from offset %Ld, inode at %Ld\n",
|
||||
fNode, offset, fTree->fStream->ID()));
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user