mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
refactor(kernel): remove unused kernel argument from SpawnInit()
There is no reason to use this Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
3482131b3f
commit
022d99f795
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
cold int SpawnInit()
|
cold int SpawnInit()
|
||||||
{
|
{
|
||||||
const char *envp[7] = {
|
const char *envp[] = {
|
||||||
"PATH=/bin:/usr/bin",
|
"PATH=/bin:/usr/bin",
|
||||||
"LD_LIBRARY_PATH=/sys/lib:/usr/lib",
|
"LD_LIBRARY_PATH=/sys/lib:/usr/lib",
|
||||||
"TERM=tty",
|
"TERM=tty",
|
||||||
@ -42,9 +42,8 @@ cold int SpawnInit()
|
|||||||
"TZ=UTC",
|
"TZ=UTC",
|
||||||
nullptr};
|
nullptr};
|
||||||
|
|
||||||
const char *argv[4] = {
|
const char *argv[] = {
|
||||||
Config.InitPath,
|
Config.InitPath,
|
||||||
"--kernel",
|
|
||||||
nullptr};
|
nullptr};
|
||||||
|
|
||||||
Tasking::TaskCompatibility compat = Tasking::Native;
|
Tasking::TaskCompatibility compat = Tasking::Native;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user