scoutfs-utils: fix printing block hdr fields

The block header printing helper had the identifiers for the blkno and
seq in the format string swapped.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2020-02-21 11:37:14 -08:00
committed by Zach Brown
parent ff436db49b
commit 6b66e583f2

View File

@@ -52,7 +52,7 @@ static void print_block_header(struct scoutfs_block_header *hdr)
else
valid_str[0] = '\0';
printf(" hdr: crc %08x %smagic %08x fsid %llx seq %llu blkno %llu\n",
printf(" hdr: crc %08x %smagic %08x fsid %llx blkno %llu seq %llu\n",
le32_to_cpu(hdr->crc), valid_str, le32_to_cpu(hdr->magic),
le64_to_cpu(hdr->fsid), le64_to_cpu(hdr->blkno),
le64_to_cpu(hdr->seq));