diff options
author | Ned Bass <[email protected]> | 2014-10-23 16:59:27 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-11-17 11:13:45 -0800 |
commit | 29e57d15c8cdd5d1d7905c9045e8f40c6f9b72f4 (patch) | |
tree | 4ca31ff732d93938f5242295c1349ef34761f0a4 /module/zfs/zap.c | |
parent | 59ec819a0c616fe2ac2b28829086568353a7d7fe (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/zap.c')
-rw-r--r-- | module/zfs/zap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zap.c b/module/zfs/zap.c index 02c92748f..4ee75b6d9 100644 --- a/module/zfs/zap.c +++ b/module/zfs/zap.c @@ -209,7 +209,7 @@ zap_table_grow(zap_t *zap, zap_table_phys_t *tbl, tbl->zt_nextblk = 0; tbl->zt_blks_copied = 0; - dprintf("finished; numblocks now %llu (%lluk entries)\n", + dprintf("finished; numblocks now %llu (%uk entries)\n", tbl->zt_numblks, 1<<(tbl->zt_shift-10)); } |