summaryrefslogtreecommitdiff
path: root/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'pthread')
-rw-r--r--pthread/pt-alloc.c2
-rw-r--r--pthread/pt-create.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c
index 21063d5..e34a043 100644
--- a/pthread/pt-alloc.c
+++ b/pthread/pt-alloc.c
@@ -28,7 +28,7 @@
/* This braindamage is necessary because the standard says that some
of the threads functions "shall fail" if "No thread could be found
corresponding to that specified by the given thread ID." */
-
+
/* Thread ID lookup table. */
struct __pthread **__pthread_threads;
diff --git a/pthread/pt-create.c b/pthread/pt-create.c
index c9e0730..e517087 100644
--- a/pthread/pt-create.c
+++ b/pthread/pt-create.c
@@ -185,7 +185,7 @@ __pthread_create_internal (struct __pthread **thread,
else
err = __pthread_sigstate (_pthread_self (), 0, 0, &sigset, 0);
assert_perror (err);
-
+
err = __pthread_sigstate (pthread, SIG_SETMASK, &sigset, 0, 1);
assert_perror (err);