Better debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16017 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
03d0d41ac7
commit
4af3d066e1
|
@ -449,7 +449,8 @@ BPlusTree::SetTo(Inode *stream)
|
||||||
// is header valid?
|
// is header valid?
|
||||||
|
|
||||||
if (fHeader->MaximumSize() != stream->Size()) {
|
if (fHeader->MaximumSize() != stream->Size()) {
|
||||||
FATAL(("B+tree header size doesn't fit file size!\n"));
|
FATAL(("B+tree header size %Ld doesn't fit file size %Ld!\n",
|
||||||
|
fHeader->MaximumSize(), stream->Size()));
|
||||||
// we can't change the header since we don't have a transaction
|
// we can't change the header since we don't have a transaction
|
||||||
//fHeader->maximum_size = HOST_ENDIAN_TO_BFS_INT64(stream->Size());
|
//fHeader->maximum_size = HOST_ENDIAN_TO_BFS_INT64(stream->Size());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue