mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
blinktree: Initalized arguments outside of call to main().
This commit is contained in:
@@ -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); });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user