Skip to content

Commit

Permalink
zdb: fix printf modifier in dump_zap()
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Matuska <mm@FreeBSD.org>
  • Loading branch information
mmatuska committed Oct 11, 2024
1 parent 75dda92 commit 70c4fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zdb/zdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ dump_zap(objset_t *os, uint64_t object, void *data, size_t size)
!!(zap_getflags(zc.zc_zap) & ZAP_FLAG_UINT64_KEY);

if (key64)
(void) printf("\t\t0x%010lx = ",
(void) printf("\t\t0x%010" PRIu64 "x = ",
*(uint64_t *)attrp->za_name);
else
(void) printf("\t\t%s = ", attrp->za_name);
Expand Down

0 comments on commit 70c4fe3

Please sign in to comment.