Kernel: execve: find_elf_interpreter_for_executable: Fix dbgln

This commit is contained in:
Brendan Coles 2021-01-16 21:34:53 +00:00 committed by Andreas Kling
parent aa8cb35b90
commit 1fa9d9dd68
Notes: sideshowbarker 2024-07-18 23:10:41 +09:00

View file

@ -750,7 +750,7 @@ KResultOr<RefPtr<FileDescription>> Process::find_elf_interpreter_for_executable(
// If it's ET_DYN with no PT_INTERP, then it's a dynamic executable responsible
// for its own relocation (i.e. it's /usr/lib/Loader.so)
if (path != "/usr/lib/Loader.so")
dbgln("exec({}): WARNING - Dynamic ELF executable without a PT_INTERP header, and isn't /usr/lib/Loader.so");
dbgln("exec({}): WARNING - Dynamic ELF executable without a PT_INTERP header, and isn't /usr/lib/Loader.so", path);
return nullptr;
}