فهرست منبع

Shell: Fix broken debug logging about waiting on children

Andreas Kling 5 سال پیش
والد
کامیت
1b9f4c7c40
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Shell/main.cpp

+ 1 - 1
Shell/main.cpp

@@ -769,7 +769,7 @@ static int run_command(const String& cmd)
 #ifdef SH_DEBUG
 #ifdef SH_DEBUG
         dbgprintf("Now we gotta wait on children:\n");
         dbgprintf("Now we gotta wait on children:\n");
         for (auto& child : children)
         for (auto& child : children)
-            dbgprintf("  %d\n", child);
+            dbgprintf("  %d (%s)\n", child.pid, child.name.characters());
 #endif
 #endif
 
 
         int wstatus = 0;
         int wstatus = 0;