From 80d642898f5a95025afd3e5ee70e01cce0857845 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 4 Feb 2014 11:38:04 +0100 Subject: kern: use kmem_warn instead of kmem_error in kmem_cache_error * kern/slab.c (kmem_cache_error): Use kmem_warn instead of kmem_error to print the cache name and its address. --- kern/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern') diff --git a/kern/slab.c b/kern/slab.c index d1e3632..adf07e7 100644 --- a/kern/slab.c +++ b/kern/slab.c @@ -662,7 +662,7 @@ static void kmem_cache_error(struct kmem_cache *cache, void *buf, int error, { struct kmem_buftag *buftag; - kmem_error("cache: %s, buffer: %p", cache->name, (void *)buf); + kmem_warn("cache: %s, buffer: %p", cache->name, (void *)buf); switch(error) { case KMEM_ERR_INVALID: -- cgit v1.2.3