summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread.c
diff options
context:
space:
mode:
authornathanw <nathanw@NetBSD.org>2003-06-26 01:30:39 +0000
committernathanw <nathanw@NetBSD.org>2003-06-26 01:30:39 +0000
commit487eb7e1931dc8d1b63f2d5260bb26885273333c (patch)
tree7dfa3bd45dce205f4b79708a4c0db4cf9f15a8bc /lib/libpthread/pthread.c
parent1414a095acff457e3ad465e1eb07f23f7a8fbae0 (diff)
Initialize pt_trapuc in pthread__initthread().
Diffstat (limited to 'lib/libpthread/pthread.c')
-rw-r--r--lib/libpthread/pthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread.c b/lib/libpthread/pthread.c
index 6ea41ed8387..28328991d66 100644
--- a/lib/libpthread/pthread.c
+++ b/lib/libpthread/pthread.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread.c,v 1.21 2003/06/06 21:06:07 nathanw Exp $ */
+/* $NetBSD: pthread.c,v 1.22 2003/06/26 01:30:39 nathanw Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.21 2003/06/06 21:06:07 nathanw Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.22 2003/06/26 01:30:39 nathanw Exp $");
#include <err.h>
#include <errno.h>
@@ -244,7 +244,7 @@ pthread__initthread(pthread_t self, pthread_t t)
t->pt_parent = NULL;
t->pt_heldlock = NULL;
t->pt_switchto = NULL;
- t->pt_sleepuc = NULL;
+ t->pt_trapuc = NULL;
sigemptyset(&t->pt_siglist);
sigemptyset(&t->pt_sigmask);
pthread_lockinit(&t->pt_siglock);