diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-04 11:39:23 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-02-04 15:21:06 +0100 |
commit | d7b113dced48aaaba6db262db2ed420b47917896 (patch) | |
tree | 1194ab45f3c3521b67c23118bf1fcd93c16830a9 /kern/task.h | |
parent | 80d642898f5a95025afd3e5ee70e01cce0857845 (diff) |
kern: make kmem_error panic
The slab allocator relies on the fact that kmem_cache_error does not
return. Previously, kmem_error was using printf. Use panic instead.
Found using the Clang Static Analyzer.
* kern/slab.c (kmem_error): Use panic instead of printf.
Diffstat (limited to 'kern/task.h')
0 files changed, 0 insertions, 0 deletions