Use __luna_abort in init

This commit is contained in:
apio 2022-10-02 18:16:27 +02:00
parent ae95a528f2
commit d2f9e17c86

View File

@ -15,8 +15,7 @@ int main()
{
if (gettid() == 0) // why are we the idle task?
{
println("SHENANIGANS! init is tid 0 (which is reserved for the idle task)");
abort();
__luna_abort("SHENANIGANS! init is tid 0 (which is reserved for the idle task)\n");
}
println("Welcome to Luna from a C init!");