aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/space_map.c
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2014-10-23 16:59:27 -0700
committerBrian Behlendorf <[email protected]>2014-11-17 11:13:45 -0800
commit29e57d15c8cdd5d1d7905c9045e8f40c6f9b72f4 (patch)
tree4ca31ff732d93938f5242295c1349ef34761f0a4 /module/zfs/space_map.c
parent59ec819a0c616fe2ac2b28829086568353a7d7fe (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/space_map.c')
-rw-r--r--module/zfs/space_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/space_map.c b/module/zfs/space_map.c
index 0ceccf669..fc0df756e 100644
--- a/module/zfs/space_map.c
+++ b/module/zfs/space_map.c
@@ -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);