mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-01-25 10:12:13 +03:00
zdb: Fix format strings on 32-bit systems
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Mark Johnston <markj@FreeBSD.org> Closes #17665
This commit is contained in:
parent
774a34f3ff
commit
2fc6bf82b6
@ -2634,8 +2634,8 @@ print_indirect(spa_t *spa, blkptr_t *bp, const zbookmark_phys_t *zb,
|
|||||||
}
|
}
|
||||||
if (BP_GET_LEVEL(bp) != zb->zb_level) {
|
if (BP_GET_LEVEL(bp) != zb->zb_level) {
|
||||||
(void) printf(" (ERROR: Block pointer level "
|
(void) printf(" (ERROR: Block pointer level "
|
||||||
"(%llu) does not match bookmark level (%ld))",
|
"(%llu) does not match bookmark level (%lld))",
|
||||||
BP_GET_LEVEL(bp), zb->zb_level);
|
BP_GET_LEVEL(bp), (longlong_t)zb->zb_level);
|
||||||
corruption_found = B_TRUE;
|
corruption_found = B_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2688,8 +2688,8 @@ visit_indirect(spa_t *spa, const dnode_phys_t *dnp,
|
|||||||
if (fill != BP_GET_FILL(bp)) {
|
if (fill != BP_GET_FILL(bp)) {
|
||||||
(void) printf("%16llx: Block pointer "
|
(void) printf("%16llx: Block pointer "
|
||||||
"fill (%llu) does not match calculated "
|
"fill (%llu) does not match calculated "
|
||||||
"value (%lu)\n", offset, BP_GET_FILL(bp),
|
"value (%llu)\n", offset, BP_GET_FILL(bp),
|
||||||
fill);
|
(u_longlong_t)fill);
|
||||||
corruption_found = B_TRUE;
|
corruption_found = B_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user