Kernel: Improve kernel panic message and rename it 'panic'->'Panic'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__is_libk)
|
||||
#include <kernel/panic.h>
|
||||
#include <kernel/Panic.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
@@ -9,7 +9,7 @@
|
||||
int putchar(int c)
|
||||
{
|
||||
#if defined(__is_libk)
|
||||
Kernel::panic("Please use kprint() instead of stdio");
|
||||
Kernel::Panic("Please use kprint() instead of stdio");
|
||||
#else
|
||||
abort();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user