summaryrefslogtreecommitdiff
path: root/cmd_debug.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-06-09 01:13:46 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-06-09 15:07:25 -0400
commit6ac37db8415c636607d878c16af8346df55668f4 (patch)
tree9c41e2d77899017d8deebc20d3d125541d476457 /cmd_debug.c
parentbec3a265658010a6cbf0cfac6dca461a7edf2c7d (diff)
Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods
Diffstat (limited to 'cmd_debug.c')
-rw-r--r--cmd_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd_debug.c b/cmd_debug.c
index 10b6af0a..a7f70ed3 100644
--- a/cmd_debug.c
+++ b/cmd_debug.c
@@ -658,7 +658,7 @@ int cmd_list_journal(int argc, char *argv[])
printbuf_reset(&buf);
- pr_buf(&buf,
+ prt_printf(&buf,
" version %u\n"
" last seq %llu\n"
" flush %u\n"
@@ -680,8 +680,8 @@ int cmd_list_journal(int argc, char *argv[])
* commit:
*/
if (entry->type == BCH_JSET_ENTRY_log && !entry->level)
- pr_newline(&buf);
- pr_indent_push(&buf, 4);
+ prt_newline(&buf);
+ printbuf_indent_add(&buf, 4);
bch2_journal_entry_to_text(&buf, c, entry);
if (blacklisted)