summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--create.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 30be419..6ddaa40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
Fri Jul 24 23:09:33 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
+ * create.c (pthread_create): Change . to -> in sigmask memcpy() args.
+
* pthread.h: (pthread_cancel): Add function prototype.
(pthread_testcancel): Ditto.
diff --git a/create.c b/create.c
index ce12849..2310993 100644
--- a/create.c
+++ b/create.c
@@ -92,7 +92,7 @@ pthread_create(pthread_t *thread,
attr_copy->priority = attr->priority;
#if HAVE_SIGSET_T
- memcpy(attr_copy.sigmask, attr.sigmask, sizeof(sigset_t));
+ memcpy(attr_copy->sigmask, attr->sigmask, sizeof(sigset_t));
#endif /* HAVE_SIGSET_T */
}