about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-08-07 00:09:47 +0000
committerJakub Jelinek <jakub@redhat.com>2003-08-07 00:09:47 +0000
commitca85ede014397967108f7dbf8e0681901df229d1 (patch)
tree721df4bda843bd5842fe98bbb0200886cfea8007 /nptl
parent5700e886e3aa675c435735448a6a99abf467d03b (diff)
downloadglibc-ca85ede014397967108f7dbf8e0681901df229d1.tar.gz
glibc-ca85ede014397967108f7dbf8e0681901df229d1.tar.xz
glibc-ca85ede014397967108f7dbf8e0681901df229d1.zip
(__pthread_create_2_0): Clear new_attr.cpuset.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 8507c3bf1d..49825f093e 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -464,6 +464,7 @@ __pthread_create_2_0 (newthread, attr, start_routine, arg)
       new_attr.guardsize = ps;
       new_attr.stackaddr = NULL;
       new_attr.stacksize = 0;
+      new_attr.cpuset = NULL;
 
       /* We will pass this value on to the real implementation.  */
       attr = (pthread_attr_t *) &new_attr;