mirror of
https://github.com/versity/scoutfs.git
synced 2026-01-08 13:01:23 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user