summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lameter <cl@linux.com>2013-01-10 19:00:53 +0000
committerPekka Enberg <penberg@kernel.org>2013-02-01 12:32:05 +0200
commit31ba7346f082f3468b8e06b45db475a6e25f01fc (patch)
tree2753b7228e8d915a8b005ff0c7a5ba39d3a97d32
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
downloadlinux-stable-31ba7346f082f3468b8e06b45db475a6e25f01fc.tar.gz
linux-stable-31ba7346f082f3468b8e06b45db475a6e25f01fc.tar.bz2
linux-stable-31ba7346f082f3468b8e06b45db475a6e25f01fc.zip
slab: Use proper formatting specs for unsigned size_t
Signed-off-by: Christoph Lameter <cl@linux.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
-rw-r--r--mm/slab_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab_common.c b/mm/slab_common.c
index 3f3cd97d3fdf..53adfbf2f3b2 100644
--- a/mm/slab_common.c
+++ b/mm/slab_common.c
@@ -299,7 +299,7 @@ void __init create_boot_cache(struct kmem_cache *s, const char *name, size_t siz
err = __kmem_cache_create(s, flags);
if (err)
- panic("Creation of kmalloc slab %s size=%zd failed. Reason %d\n",
+ panic("Creation of kmalloc slab %s size=%zu failed. Reason %d\n",
name, size, err);
s->refcount = -1; /* Exempt from merging for now */