ffat_fs: call 'exec_static_constructors()'

Fixes #2421
This commit is contained in:
Christian Prochaska 2017-05-19 18:51:27 +02:00 committed by Christian Helmuth
parent 0909256f97
commit a304cfca9d
1 changed files with 7 additions and 1 deletions

View File

@ -1006,4 +1006,10 @@ struct Main
};
void Component::construct(Genode::Env &env) { static Main main(env); }
void Component::construct(Genode::Env &env)
{
/* XXX execute constructors of global statics */
env.exec_static_constructors();
static Main main(env);
}