diff options
Diffstat (limited to 'print-tree.c')
-rw-r--r-- | print-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c index 975b5d06..4d251b52 100644 --- a/print-tree.c +++ b/print-tree.c @@ -1313,7 +1313,7 @@ void btrfs_print_tree(struct btrfs_root *root, struct extent_buffer *eb, int fol for (i = 0; i < nr; i++) { next = read_tree_block(root->fs_info, - btrfs_node_blockptr(eb, i), root->fs_info->nodesize, + btrfs_node_blockptr(eb, i), btrfs_node_ptr_generation(eb, i)); if (!extent_buffer_uptodate(next)) { fprintf(stderr, "failed to read %llu in tree %llu\n", |