1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:37:35 +00:00

Kernel: Unbreak building with extra debug macros, part 2

This commit is contained in:
Ben Wiederhake 2020-08-27 00:58:09 +02:00 committed by Andreas Kling
parent eac3bbdcee
commit 081bb29626
9 changed files with 28 additions and 18 deletions

View file

@ -40,6 +40,7 @@
#include <LibELF/Validation.h>
//#define EXEC_DEBUG
//#define MM_DEBUG
namespace Kernel {
@ -97,7 +98,7 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
}
#ifdef MM_DEBUG
dbg() << "Process " << pid() << " exec: PD=" << m_page_directory.ptr() << " created";
dbg() << "Process " << pid().value() << " exec: PD=" << m_page_directory.ptr() << " created";
#endif
InodeMetadata loader_metadata;