From 1b9f4c7c406b62d8816430f68cd8903418a540cd Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 12 Jan 2020 10:03:06 +0100 Subject: [PATCH] Shell: Fix broken debug logging about waiting on children --- Shell/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shell/main.cpp b/Shell/main.cpp index c43ceac85a..44cfdfeb12 100644 --- a/Shell/main.cpp +++ b/Shell/main.cpp @@ -769,7 +769,7 @@ static int run_command(const String& cmd) #ifdef SH_DEBUG dbgprintf("Now we gotta wait on children:\n"); for (auto& child : children) - dbgprintf(" %d\n", child); + dbgprintf(" %d (%s)\n", child.pid, child.name.characters()); #endif int wstatus = 0;