summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-22 21:18:25 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-22 21:18:25 +0200
commit4dbbe1885fe0ed8d203f0eaa22bfb14da0d71ace (patch)
tree3d9b16988f02df7d7e7e27bd57e8da43afb193a8
parent8a1dbe548322cd36322d870534442c35233ae1f5 (diff)
downloadserenity-4dbbe1885fe0ed8d203f0eaa22bfb14da0d71ace.zip
Kernel: Silence debug spam on exec
-rw-r--r--Kernel/Process.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 0177fbba6b..2f302fcec6 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -822,7 +822,9 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
{
ASSERT(is_ring3());
auto path = main_program_description->absolute_path();
+#ifdef EXEC_DEBUG
dbg() << "do_exec(" << path << ")";
+#endif
size_t total_blob_size = 0;
for (auto& a : arguments)