aboutsummaryrefslogtreecommitdiff
path: root/kern/ipc_tt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/ipc_tt.c')
-rw-r--r--kern/ipc_tt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/ipc_tt.c b/kern/ipc_tt.c
index 0b10204c..d2a22f9f 100644
--- a/kern/ipc_tt.c
+++ b/kern/ipc_tt.c
@@ -511,7 +511,7 @@ retrieve_thread_exception(thread)
* or other errors.
*/
-mach_port_t
+mach_port_name_t
mach_task_self(void)
{
task_t task = current_task();
@@ -532,7 +532,7 @@ mach_task_self(void)
* or other errors.
*/
-mach_port_t
+mach_port_name_t
mach_thread_self(void)
{
thread_t thread = current_thread();