about summary refs log tree commit diff
path: root/misc/tst-pselect.c
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 /misc/tst-pselect.c
parent36775704ae63c5566a4169e88d9a806e8a37ab40 (diff)
downloadglibc-9e1444fc3ddba6efabe467007c1e600f4571687c.tar.gz
glibc-9e1444fc3ddba6efabe467007c1e600f4571687c.tar.xz
glibc-9e1444fc3ddba6efabe467007c1e600f4571687c.zip
* misc/tst-pselect.c (do_test): Fix sigblock argument.
Diffstat (limited to 'misc/tst-pselect.c')
-rw-r--r--misc/tst-pselect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/tst-pselect.c b/misc/tst-pselect.c
index 54c5ee8261..35d51d8ee0 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;