summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpj <rpj>1998-07-24 13:16:45 +0000
committerrpj <rpj>1998-07-24 13:16:45 +0000
commitc913bfb2e2ef13f3ef7bdf08421d88a62ac489a3 (patch)
tree91df8f5290ab0eb203149690eb5ff83330c70f23
parent0fe7499bdd8c621df2aee754005f1e457935362f (diff)
Fri Jul 24 23:09:33 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* create.c (pthread_create): Change . to -> in sigmask memcpy() args.
-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 */
}