summaryrefslogtreecommitdiff
path: root/debug-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug-tree.c')
-rw-r--r--debug-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug-tree.c b/debug-tree.c
index d21a8bd7..34cefe9f 100644
--- a/debug-tree.c
+++ b/debug-tree.c
@@ -125,7 +125,8 @@ int main(int ac, char **av)
root->nodesize, 0);
}
if (!leaf) {
- fprintf(stderr, "failed to read %llu\n", block_only);
+ fprintf(stderr, "failed to read %llu\n",
+ (unsigned long long)block_only);
return 0;
}
btrfs_print_tree(root, leaf, 0);