aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-12-14 20:04:05 +0000
committerUlrich Drepper <drepper@redhat.com>2006-12-14 20:04:05 +0000
commit9e1444fc3ddba6efabe467007c1e600f4571687c (patch)
tree40f1377de850ce23952c95508af5c21714622263
parent36775704ae63c5566a4169e88d9a806e8a37ab40 (diff)
downloadglibc-9e1444fc3ddba6efabe467007c1e600f4571687c.zip
glibc-9e1444fc3ddba6efabe467007c1e600f4571687c.tar.gz
glibc-9e1444fc3ddba6efabe467007c1e600f4571687c.tar.bz2
* misc/tst-pselect.c (do_test): Fix sigblock argument.
-rw-r--r--ChangeLog4
-rw-r--r--misc/tst-pselect.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cdcdf5a..f346301 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-14 Jakub Jelinek <jakub@redhat.com>
+
+ * misc/tst-pselect.c (do_test): Fix sigblock argument.
+
2006-12-14 Ulrich Drepper <drepper@redhat.com>
* misc/tst-pselect.c (do_test): Make sure the helper process is
diff --git a/misc/tst-pselect.c b/misc/tst-pselect.c
index 54c5ee8..35d51d8 100644
--- a/misc/tst-pselect.c
+++ b/misc/tst-pselect.c
@@ -38,7 +38,7 @@ do_test (void)
return 1;
}
- if (sigblock (SIGUSR1) != 0)
+ if (sigblock (sigmask (SIGUSR1)) != 0)
{
puts ("sigblock failed");
return 1;