Fix zdb_dump_block for little endian

The endian macros were changed but zdb_dump_block wasn't updated
accordingly.

Signed-off-by: Chunwei Chen <david.chen@nutanix.com>
This commit is contained in:
Chunwei Chen 2024-06-28 23:19:03 +00:00
parent fd51786f86
commit 8c94bb3e42
1 changed files with 1 additions and 1 deletions

View File

@ -8336,7 +8336,7 @@ zdb_dump_block(char *label, void *buf, uint64_t size, int flags)
(void) printf("\n%s\n%6s %s 0123456789abcdef\n", label, "", hdr);
#ifdef _LITTLE_ENDIAN
#ifdef _ZFS_LITTLE_ENDIAN
/* correct the endianness */
do_bswap = !do_bswap;
#endif