path: root/extent-tree.c
diff options
authorLuca Bruno <>2009-06-03 12:04:41 -0400
committerChris Mason <>2009-06-03 12:15:40 -0400
commit6fa19b04d9bcf71131ba7969a9f43a63dd1960aa (patch)
tree7379bcb25367652a616bc27317af6846919e217d /extent-tree.c
parent99b6d94018a684031b802dd362e2fd21c7be6fe6 (diff)
Fix printf format casting errors
There are still some warnings of the form: format '%llu' expects type 'long long unsigned int' but argument has type 'u64' In conjunction with -Werror, this is causing some build failures. Now they're properly casted, avoiding compiler warnings. Signed-off-by: Luca Bruno <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'extent-tree.c')
1 files changed, 2 insertions, 1 deletions
diff --git a/extent-tree.c b/extent-tree.c
index cc8d1d78..d0ad017c 100644
--- a/extent-tree.c
+++ b/extent-tree.c
@@ -823,7 +823,8 @@ int btrfs_lookup_extent_ref(struct btrfs_trans_handle *trans,
goto out;
if (ret != 0) {
btrfs_print_leaf(root, path->nodes[0]);
- printk("failed to find block number %Lu\n", bytenr);
+ printk("failed to find block number %Lu\n",
+ (unsigned long long)bytenr);
l = path->nodes[0];