diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-04 11:38:04 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-04 15:21:06 +0100 |
commit | 80d642898f5a95025afd3e5ee70e01cce0857845 (patch) | |
tree | 5b5d2f5051a880f1844825cad48074e2e73bf5bb /kern | |
parent | a7fcd5dfaad27dc33c1c1e22ebef2ded8d53b5a0 (diff) |
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.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |