Shell: Fix broken debug logging about waiting on children

This commit is contained in:
Andreas Kling 2020-01-12 10:03:06 +01:00
parent 4edbcebeb4
commit 1b9f4c7c40
Notes: sideshowbarker 2024-07-19 10:08:58 +09:00

View file

@ -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;