summaryrefslogtreecommitdiff
path: root/sys/kern/kern_thr.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-04-03 15:59:13 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-04-03 15:59:13 +0000
commitfdcac92868ae2506749bb4edc925e754f2118006 (patch)
treece24c4f56582c8285ccc25138fe4c0fe2f2839a9 /sys/kern/kern_thr.c
parent2593748c609c5d43288521dfc23d545b76316c9d (diff)
Notes
Diffstat (limited to 'sys/kern/kern_thr.c')
-rw-r--r--sys/kern/kern_thr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_thr.c b/sys/kern/kern_thr.c
index a6dcf5e2c5988..6e70322f2aa59 100644
--- a/sys/kern/kern_thr.c
+++ b/sys/kern/kern_thr.c
@@ -130,6 +130,7 @@ thr_create(struct thread *td, struct thr_create_args *uap)
/* Initialize our td. */
td0 = thread_alloc();
+ td0->td_tid = thread_new_tid();
/*
* Try the copyout as soon as we allocate the td so we don't have to