]> granicus.if.org Git - spl/commitdiff
Minor fix for compiler warning when KMEM_TRACKING is enabled
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 20 Jan 2009 21:39:35 +0000 (13:39 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 20 Jan 2009 21:39:35 +0000 (13:39 -0800)
module/spl/spl-kmem.c

index e580fbbddc3de0a76345e4e8cac2c2e3fc7ce0aa..c6cd914adc2ae0df2a0b99191b78b78c6e18736f 100644 (file)
@@ -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);