diff options
author | Christoph Lameter <cl@linux.com> | 2013-01-10 20:00:53 +0100 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-02-01 11:32:05 +0100 |
commit | 31ba7346f082f3468b8e06b45db475a6e25f01fc (patch) | |
tree | 2753b7228e8d915a8b005ff0c7a5ba39d3a97d32 | |
parent | Linux 3.8-rc1 (diff) | |
download | linux-31ba7346f082f3468b8e06b45db475a6e25f01fc.tar.xz linux-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.c | 2 |
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 */ |