summaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_init.c
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-04-03 03:34:50 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-04-03 03:34:50 +0000
commit55ad402a8f53bd62c8b85106cf307298f0c952d9 (patch)
treed95f2bb910f0eebc71243aa5c4f13994c66da5ec /lib/libthr/thread/thr_init.c
parenta8949de20eec94dce0e9bc107a5270dd3a8d03b4 (diff)
Notes
Diffstat (limited to 'lib/libthr/thread/thr_init.c')
-rw-r--r--lib/libthr/thread/thr_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_init.c b/lib/libthr/thread/thr_init.c
index 6a6fd45d7586..1a0c648553e1 100644
--- a/lib/libthr/thread/thr_init.c
+++ b/lib/libthr/thread/thr_init.c
@@ -219,7 +219,7 @@ _thread_init(void)
PANIC("Cannot allocate memory for initial thread");
}
_thread_initial = pthread;
- pthread->arch_id = _set_curthread(pthread);
+ pthread->arch_id = _set_curthread(NULL, pthread);
/* Zero the initial thread structure: */
memset(pthread, 0, sizeof(struct pthread));