summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2003-08-12 22:13:06 +0000
committerDavid Xu <davidxu@FreeBSD.org>2003-08-12 22:13:06 +0000
commit44498c15e01b2e78c38f250c249a470028e93ad8 (patch)
treeab06400f73b6c0664b0a3c3bb6f88d590fd6a9e1 /lib/libpthread
parentaffd4332fd4866fb413aefbb76fcd30246f36201 (diff)
Notes
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/arch/amd64/amd64/pthread_md.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/arch/amd64/amd64/pthread_md.c b/lib/libpthread/arch/amd64/amd64/pthread_md.c
index 374b6d8785b6..ead259a0e285 100644
--- a/lib/libpthread/arch/amd64/amd64/pthread_md.c
+++ b/lib/libpthread/arch/amd64/amd64/pthread_md.c
@@ -61,6 +61,7 @@ _kcb_ctor(struct kse *kse)
if ((kcb = malloc(sizeof(struct kcb))) != NULL) {
bzero(kcb, sizeof(struct kcb));
kcb->kcb_kse = kse;
+ kcb->kcb_self = kcb;
}
return (kcb);
}