]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs.c
Update bcachefs sources to 1a510b00b6 bcachefs: Increase BTREE_TRANS_MEM_MAX
[bcachefs-tools-debian] / libbcachefs.c
index d0c58da7f5fd1088d34a368c2a4f109c6cffc240..34246dc9106d5ffd83712f4b6571b4e91e042abe 100644 (file)
@@ -257,7 +257,7 @@ struct bch_sb *bch2_format(struct bch_opt_strs      fs_opt_strs,
 
                idx = bch2_disk_path_find_or_create(&sb, i->group);
                if (idx < 0)
-                       die("error creating disk path: %s", i->group);
+                       die("error creating disk path: %s", idx);
 
                SET_BCH_MEMBER_GROUP(m, idx + 1);
        }