From 4e55e56252676ea4773023a08994c0f363844343 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Sun, 13 Apr 2014 09:16:58 +0200
Subject: kern: set the name of tasks created during the bootstrap

* kern/bootstrap.c (boot_script_task_create): Set the name of newly
created tasks.
---
 kern/bootstrap.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'kern')

diff --git a/kern/bootstrap.c b/kern/bootstrap.c
index 7cfff3a..d919e90 100644
--- a/kern/bootstrap.c
+++ b/kern/bootstrap.c
@@ -800,6 +800,7 @@ boot_script_task_create (struct cmd *cmd)
       printf("boot_script_task_create failed with %x\n", rc);
       return BOOT_SCRIPT_MACH_ERROR;
     }
+  task_set_name(cmd->task, cmd->path);
   return 0;
 }
 
-- 
cgit v1.2.3