diff options
author | David Sterba <dsterba@suse.com> | 2018-07-16 16:17:06 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 15:01:36 +0200 |
commit | 9d26ce02cb8f0ee8cd37842e66a3e474bc6bcd46 (patch) | |
tree | 2ca2f3becbb744c3c18a3c32b06e6b8eb9a72bc5 | |
parent | e444c7bfa65fcc71cfe73eda53f27bb8dc41edb2 (diff) |
btrfs-progs: fix build of quick-test
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | quick-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quick-test.c b/quick-test.c index 5da47c32..1712adc4 100644 --- a/quick-test.c +++ b/quick-test.c @@ -94,7 +94,7 @@ int main(int ac, char **av) { fprintf(stderr, "search %d:%d\n", num, i); ret = btrfs_search_slot(NULL, root, &ins, &path, 0, 0); if (ret) { - btrfs_print_tree(root, root->node, 1); + btrfs_print_tree(root->node, 1); printf("unable to find %d\n", num); exit(1); } @@ -171,7 +171,7 @@ int main(int ac, char **av) { fprintf(stderr, "search %d:%d\n", num, i); ret = btrfs_search_slot(NULL, root, &ins, &path, 0, 0); if (ret) { - btrfs_print_tree(root, root->node, 1); + btrfs_print_tree(root->node, 1); printf("unable to find %d\n", num); exit(1); } @@ -220,7 +220,7 @@ int main(int ac, char **av) { btrfs_commit_transaction(trans, root); printf("tree size is now %d\n", tree_size); printf("root %p commit root %p\n", root->node, root->commit_root); - btrfs_print_tree(root, root->node, 1); + btrfs_print_tree(root->node, 1); close_ctree(root); return 0; } |