blob: 65d6172aea3dcc20dfe8286e865e1859b4c179e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/kern/task.c b/kern/task.c
index a11fb8e..8eb2244 100644
--- a/kern/task.c
+++ b/kern/task.c
@@ -177,10 +177,8 @@ kern_return_t task_create(
task_reference (new_task);
task_reference (parent_task);
mach_notify_new_task (new_task_notification,
- convert_task_to_port (new_task),
- convert_task_to_port (parent_task));
+ new_task, parent_task);
}
-
ipc_task_enable(new_task);
*child_task = new_task;
|