mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-27 23:14:34 +00:00
fix(kernel): improve error message for failed init program startup
This commit is contained in:
parent
3315d79742
commit
1f646d6826
@ -148,8 +148,7 @@ void KernelMainThread()
|
|||||||
int tid = SpawnInit();
|
int tid = SpawnInit();
|
||||||
if (tid < 0)
|
if (tid < 0)
|
||||||
{
|
{
|
||||||
KPrint("\x1b[1;37;41mFailed to start %s! Error: %s (%d)",
|
KPrint("\x1b[1;37;41mFailed to start init program! Error: %s (%d)", strerror(tid), tid);
|
||||||
Config.InitPath, strerror(tid), tid);
|
|
||||||
goto Exit;
|
goto Exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user