summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-13 09:16:58 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-04-13 09:16:58 +0200
commit4e55e56252676ea4773023a08994c0f363844343 (patch)
tree74b8bfc35aeec5d36a95f97bf49ba387af914f4a /kern
parent5e533682c0df29d28dc8250c57c2e33406a57835 (diff)
kern: set the name of tasks created during the bootstrap
* kern/bootstrap.c (boot_script_task_create): Set the name of newly created tasks.
Diffstat (limited to 'kern')
-rw-r--r--kern/bootstrap.c1
1 files changed, 1 insertions, 0 deletions
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;
}