Better debug output.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16017 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-01-21 13:29:11 +00:00
parent 03d0d41ac7
commit 4af3d066e1
1 changed files with 2 additions and 1 deletions

View File

@ -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());
} }