]> git.hungrycats.org Git - linux/commitdiff
drivers/pci/pool.c:show_pools Use correct size_t printf format.
authorDavid S. Miller <davem@nuts.ninka.net>
Thu, 19 Sep 2002 08:19:54 +0000 (01:19 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Thu, 19 Sep 2002 08:19:54 +0000 (01:19 -0700)
drivers/pci/pool.c

index d4aeb6f351308e5671b6b94ad95b4ddbdf1b2867..da6ac3dc20f7ca4c028d7c9f117d44cd11b5554d 100644 (file)
@@ -69,7 +69,7 @@ show_pools (struct device *dev, char *buf, size_t count, loff_t off)
                }
 
                /* per-pool info, no real statistics yet */
-               temp = snprintf (next, size, "%-16s %4u %4u %4u %2u\n",
+               temp = snprintf (next, size, "%-16s %4u %4Zu %4Zu %2u\n",
                                pool->name,
                                blocks, pages * pool->blocks_per_page,
                                pool->size, pages);