summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c
index 4ecf1004..bc69663a 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -501,7 +501,7 @@ static void print_extent_ref_v0(struct extent_buffer *eb, int slot)
}
#endif
-static void print_root_ref(struct extent_buffer *leaf, int slot, char *tag)
+static void print_root_ref(struct extent_buffer *leaf, int slot, const char *tag)
{
struct btrfs_root_ref *ref;
char namebuf[BTRFS_NAME_LEN];