diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-08-06 00:23:40 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-08-06 00:23:40 +0000 |
| commit | 4a997ca96eec73949a749df492127801238a221a (patch) | |
| tree | e5facacee24f0e641fdf47521aa7252fc32cb6db /lib/libpthread/thread/thr_create.c | |
| parent | 119fb38770e1ff1f070b5917d59e76f77e57c41d (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
| -rw-r--r-- | lib/libpthread/thread/thr_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c index fcc4ac5280da..c73a3da98806 100644 --- a/lib/libpthread/thread/thr_create.c +++ b/lib/libpthread/thread/thr_create.c @@ -193,7 +193,7 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr, new_thread->tcb->tcb_tmbx.tm_context.uc_stack.ss_sp = new_thread->attr.stackaddr_attr; makecontext(&new_thread->tcb->tcb_tmbx.tm_context, - (void (*)(void))thread_start, 4, new_thread, + (void (*)(void))thread_start, 3, new_thread, start_routine, arg); /* * Check if this thread is to inherit the scheduling |
