Skip to content

Commit 61288a5

Browse files
committed
zdb: Fix the 32-bit build
1 parent 3238878 commit 61288a5

File tree

1 file changed

+4
-4
lines changed
  • sys/contrib/openzfs/cmd/zdb

1 file changed

+4
-4
lines changed

sys/contrib/openzfs/cmd/zdb/zdb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2627,8 +2627,8 @@ print_indirect(spa_t *spa, blkptr_t *bp, const zbookmark_phys_t *zb,
26272627
}
26282628
if (BP_GET_LEVEL(bp) != zb->zb_level) {
26292629
(void) printf(" (ERROR: Block pointer level "
2630-
"(%llu) does not match bookmark level (%ld))",
2631-
BP_GET_LEVEL(bp), zb->zb_level);
2630+
"(%llu) does not match bookmark level (%lld))",
2631+
BP_GET_LEVEL(bp), (u_longlong_t)zb->zb_level);
26322632
corruption_found = B_TRUE;
26332633
}
26342634
}
@@ -2681,8 +2681,8 @@ visit_indirect(spa_t *spa, const dnode_phys_t *dnp,
26812681
if (fill != BP_GET_FILL(bp)) {
26822682
(void) printf("%16llx: Block pointer "
26832683
"fill (%llu) does not match calculated "
2684-
"value (%lu)\n", offset, BP_GET_FILL(bp),
2685-
fill);
2684+
"value (%llu)\n", offset, BP_GET_FILL(bp),
2685+
(u_longlong_t)fill);
26862686
corruption_found = B_TRUE;
26872687
}
26882688
}

0 commit comments

Comments
 (0)