aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-20 13:39:35 -0800
committerBrian Behlendorf <[email protected]>2009-01-20 13:39:35 -0800
commitb6b2acc66e9621ec8c218875b2e5395d0d1841fe (patch)
tree3aefb20442cc1d1294cc5385ea0f38023cc6ad70 /module
parentae3b87f908fe67f8be739b7f7c71bb5fdd742552 (diff)
Minor fix for compiler warning when KMEM_TRACKING is enabled
Diffstat (limited to 'module')
-rw-r--r--module/spl/spl-kmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/spl/spl-kmem.c b/module/spl/spl-kmem.c
index e580fbbdd..c6cd914ad 100644
--- a/module/spl/spl-kmem.c
+++ b/module/spl/spl-kmem.c
@@ -1381,7 +1381,7 @@ spl_kmem_fini_tracking(struct list_head *list, spinlock_t *lock)
list_for_each_entry(kd, list, kd_list)
printk(KERN_WARNING "%p %-5d %-16s %s:%d\n", kd->kd_addr,
- kd->kd_size, spl_sprintf_addr(kd, str, 17, 8),
+ (int)kd->kd_size, spl_sprintf_addr(kd, str, 17, 8),
kd->kd_func, kd->kd_line);
spin_unlock_irqrestore(lock, flags);