diff --git a/cmd_debug.c b/cmd_debug.c index 33c4a1b1..04afea13 100644 --- a/cmd_debug.c +++ b/cmd_debug.c @@ -664,8 +664,9 @@ int cmd_list_journal(int argc, char *argv[]) * log entries denote the start of a new transaction * commit: */ - pr_indent_push(&buf, - entry->type == BCH_JSET_ENTRY_log ? 2 : 4); + if (entry->type == BCH_JSET_ENTRY_log) + pr_newline(&buf); + pr_indent_push(&buf, 4); bch2_journal_entry_to_text(&buf, c, entry); if (blacklisted)