git: 001ca4955e69 - main - zdb: fix build on 32bits

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Tue, 10 Sep 2024 13:44:08 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/src/commit/?id=001ca4955e69b634c90b333861f134aaa64759c4

commit 001ca4955e69b634c90b333861f134aaa64759c4
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2024-09-10 13:41:08 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2024-09-10 13:41:26 +0000

    zdb: fix build on 32bits
---
 sys/contrib/openzfs/cmd/zdb/zdb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/contrib/openzfs/cmd/zdb/zdb.c b/sys/contrib/openzfs/cmd/zdb/zdb.c
index aa80c46e6079..9dbae0168e5d 100644
--- a/sys/contrib/openzfs/cmd/zdb/zdb.c
+++ b/sys/contrib/openzfs/cmd/zdb/zdb.c
@@ -1968,7 +1968,7 @@ dump_ddt_log(ddt_t *ddt)
 		if (count == 0)
 			continue;
 
-		printf(DMU_POOL_DDT_LOG ": %lu log entries\n",
+		printf(DMU_POOL_DDT_LOG ": %" PRIu64 " log entries\n",
 		    zio_checksum_table[ddt->ddt_checksum].ci_name, n, count);
 
 		if (dump_opt['D'] < 4)