HomeFreeBSD

zdb: fix printf format in dump_zap()

Description

zdb: fix printf format in dump_zap()

When compiling zdb.c on 32-bit platforms, a format conversion error
is reported for a printf() in dump_zap(). Change %l to macro
%" PRIu64 " to match the platform size of a 64-bit unsigned integer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Martin Matuska <mm@FreeBSD.org>
Closes #16635

Details

Provenance
mmAuthored on Oct 11 2024, 4:55 PM
GitHub <noreply@github.com>Committed on Oct 11 2024, 4:55 PM
Parents
rG7bf525530afd: zpool/zfs: allow --json wherever -j is allowed
Branches
Unknown
Tags
Unknown