summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'create.c')
-rw-r--r--create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/create.c b/create.c
index 2310993..1d2303e 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 */
}