summaryrefslogtreecommitdiff
path: root/quick-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'quick-test.c')
-rw-r--r--quick-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quick-test.c b/quick-test.c
index 66bdc579..d9287cad 100644
--- a/quick-test.c
+++ b/quick-test.c
@@ -73,7 +73,7 @@ int main(int ac, char **av) {
printf("node %p level %d total ptrs %d free spc %lu\n", root->node,
btrfs_header_level(&root->node->node.header),
btrfs_header_nritems(&root->node->node.header),
- NODEPTRS_PER_BLOCK -
+ BTRFS_NODEPTRS_PER_BLOCK(root) -
btrfs_header_nritems(&root->node->node.header));
printf("all searches good, deleting some items\n");
i = 0;