1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:34:59 +00:00

LibELF: Name library maps with the full file path

This commit is contained in:
Tim Schumacher 2022-04-22 13:34:43 +02:00 committed by Linus Groh
parent 2b7b7f2816
commit 89da0f2da5
4 changed files with 17 additions and 15 deletions

View file

@ -336,7 +336,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
}
int fd = TRY(Core::System::open(path, O_RDONLY));
auto result = ELF::DynamicLoader::try_create(fd, path);
auto result = ELF::DynamicLoader::try_create(fd, path, path);
if (result.is_error()) {
outln("{}", result.error().text);
return 1;