Fix mismatch journal pos format in vitastor-disk

Vitaliy Filippov 2023-11-19 15:19:54 +03:00
parent 75674545dc
commit a00e8ae9ed
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ void disk_tool_t::dump_journal_entry(int num, journal_entry *je, bool json)
if (journal_calc_data_pos != sw.data_offset)
{
printf(json ? ",\"bad_loc\":true,\"calc_loc\":\"0x%lx\""
: " (mismatched, calculated = %lu)", journal_pos);
: " (mismatched, calculated = %08lx)", journal_pos);
}
uint32_t data_csum_size = (!je_start.csum_block_size
? 0