From 96f08e93f5cc18de5877bc1700e46b805cb86a78 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 25 Nov 2002 21:07:35 +0000 Subject: 2002-11-25 Neal H. Walfield * sysdeps/mach/hurd/i386/pt-setup.c (__pthread_setup): Fix last change. --- sysdeps/mach/hurd/i386/pt-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/mach') diff --git a/sysdeps/mach/hurd/i386/pt-setup.c b/sysdeps/mach/hurd/i386/pt-setup.c index 369a28e..9a85584 100644 --- a/sysdeps/mach/hurd/i386/pt-setup.c +++ b/sysdeps/mach/hurd/i386/pt-setup.c @@ -89,7 +89,7 @@ __pthread_setup (struct __pthread *thread, thread->mcontext.pc = entry_point; thread->mcontext.sp = stack_setup (thread, start_routine, arg); - ktid = __mach_port_self (); + ktid = __mach_thread_self (); if (thread->kernel_thread != ktid) { err = __thread_set_pcsp (thread->kernel_thread, -- cgit v1.2.3