summaryrefslogtreecommitdiff
path: root/libbcachefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs.c')
-rw-r--r--libbcachefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs.c b/libbcachefs.c
index 577ccac1..016ff882 100644
--- a/libbcachefs.c
+++ b/libbcachefs.c
@@ -509,7 +509,7 @@ int bchu_data(struct bchfs_handle fs, struct bch_ioctl_data cmd)
case BCH_DATA_btree:
case BCH_DATA_user:
printf(" %s:%llu:%llu",
- bch2_btree_ids[e.p.btree_id],
+ bch2_btree_id_str(e.p.btree_id),
e.p.pos.inode,
e.p.pos.offset);
}