failfish
This commit is contained in:
parent
20e1252f71
commit
2f0aa5da87
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#include <assert.h>
|
||||
#include <base.hpp>
|
||||
#include <textDISP.hpp>
|
||||
void "C" __assert(const char *msg, const char *file, int line, int res) {
|
||||
extern "C" void __assert(const char *msg, const char *file, int line, int res) {
|
||||
if(!res) {
|
||||
MTGosHAL::err << "assert(" << msg << ") failed in " << file << " at line " << line << "!\n";
|
||||
MTGosHAL::err << "Kernel panic.\n";
|
||||
|
|
Loading…
Reference in a new issue