diff --git a/repos/base/src/lib/ldso/main.cc b/repos/base/src/lib/ldso/main.cc index 608400b208..9fa5487e0a 100644 --- a/repos/base/src/lib/ldso/main.cc +++ b/repos/base/src/lib/ldso/main.cc @@ -104,7 +104,7 @@ class Linker::Elf_object : public Object, private Fifo::Element bool _init_elf_file(Env &env, Allocator &md_alloc, char const *path) { - _elf_file.construct(env, md_alloc, Linker::file(path), true); + _elf_file.construct(env, md_alloc, path, true); Object::init(Linker::file(path), *_elf_file); return true; }