mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Fix dprintf format specifiers
Fix a few dprintf format specifiers that disagreed with their argument types. These came to light as compiler errors when converting dprintf to use the Linux trace buffer. Previously this wasn't a problem, presumably because the SPL debug logging uses vsnprintf which must perform automatic type conversion. Signed-off-by: Ned Bass <bass6@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
59ec819a0c
commit
29e57d15c8
@@ -427,7 +427,7 @@ space_map_truncate(space_map_t *sm, dmu_tx_t *tx)
|
||||
doi.doi_bonus_size != sizeof (space_map_phys_t)) ||
|
||||
doi.doi_data_block_size != space_map_blksz) {
|
||||
zfs_dbgmsg("txg %llu, spa %s, reallocating: "
|
||||
"old bonus %u, old blocksz %u", dmu_tx_get_txg(tx),
|
||||
"old bonus %llu, old blocksz %u", dmu_tx_get_txg(tx),
|
||||
spa_name(spa), doi.doi_bonus_size, doi.doi_data_block_size);
|
||||
|
||||
space_map_free(sm, tx);
|
||||
|
||||
Reference in New Issue
Block a user