blinktree: Initalized arguments outside of call to main().

This commit is contained in:
Michael Müller
2022-07-20 18:22:45 +02:00
parent 4afed37ffd
commit 0b42ee3da2

View File

@@ -184,6 +184,8 @@ void Libc::Component::construct(Libc::Env &env) {
mx::system::Environment::set_env(&env);
char *args[] = {"blinktree", "1:4", "-o /dev/log"};
Libc::with_libc([&]()
{ main(3, {"blinktree", "1:4", "-o /dev/log"}); });
{ main(3, args); });
}