cmd_list: Fix indenting in -m nodes_ondisk

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet 2022-07-11 15:44:02 -04:00
parent bad0c8c507
commit cc1f2deb96

View File

@ -190,8 +190,10 @@ static void print_node_ondisk(struct bch_fs *c, struct btree *b)
struct bkey u; struct bkey u;
struct printbuf buf = PRINTBUF; struct printbuf buf = PRINTBUF;
printbuf_indent_add(&buf, 4);
bch2_bkey_val_to_text(&buf, c, bkey_disassemble(b, k, &u)); bch2_bkey_val_to_text(&buf, c, bkey_disassemble(b, k, &u));
fprintf(stdout, " %s\n", buf.buf); fprintf(stdout, "%s\n", buf.buf);
printbuf_exit(&buf); printbuf_exit(&buf);
} }