1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:37:44 +00:00

ELFLoader: Fix typo in segment naming.

Executable segments now get an "x" character in their region name.
This commit is contained in:
Andreas Kling 2019-05-30 16:23:48 +02:00
parent baaede1bf9
commit 3a1d5fa112

View file

@ -55,7 +55,7 @@ bool ELFLoader::layout()
program_header.is_readable(),
program_header.is_writable(),
program_header.is_executable(),
String::format("elf-map-%s%s%s", program_header.is_readable() ? "r" : "", program_header.is_writable() ? "w" : "", program_header.is_writable() ? "x" : "")
String::format("elf-map-%s%s%s", program_header.is_readable() ? "r" : "", program_header.is_writable() ? "w" : "", program_header.is_executable() ? "x" : "")
);
}
});