diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-11 15:44:02 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-11 15:44:02 -0400 |
commit | cc1f2deb960478d556e2d61be70ca412e12425d1 (patch) | |
tree | 1a06118248f14802f30bc118170190033d7dbd62 | |
parent | bad0c8c50758b4447d529f61017c1a8c85976a3e (diff) |
cmd_list: Fix indenting in -m nodes_ondisk
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
-rw-r--r-- | cmd_list.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -190,8 +190,10 @@ static void print_node_ondisk(struct bch_fs *c, struct btree *b) struct bkey u; struct printbuf buf = PRINTBUF; + printbuf_indent_add(&buf, 4); + 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); } |