Commit 80ea21f1 authored by David S. Miller's avatar David S. Miller

drivers/pci/pool.c:show_pools Use correct size_t printf format.

parent df07b05e
...@@ -69,7 +69,7 @@ show_pools (struct device *dev, char *buf, size_t count, loff_t off) ...@@ -69,7 +69,7 @@ show_pools (struct device *dev, char *buf, size_t count, loff_t off)
} }
/* per-pool info, no real statistics yet */ /* 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, pool->name,
blocks, pages * pool->blocks_per_page, blocks, pages * pool->blocks_per_page,
pool->size, pages); pool->size, pages);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment