zdb: fix printf format in dump_zap()
commit58162960a1dbcd35c72e42a4bbb821ccc5a0c505
authorMartin Matuška <mm@FreeBSD.org>
Fri, 11 Oct 2024 16:55:17 +0000 (11 18:55 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 11 Oct 2024 23:21:25 +0000 (11 16:21 -0700)
tree182aab345b706ef0fcaf7fc9495631ff962a3860
parent666903610d08611aefdde043b731abfa5dbb21a1
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
cmd/zdb/zdb.c