* misc/tst-pselect.c (do_test): Fix sigblock argument.
authorUlrich Drepper <drepper@redhat.com>
Thu, 14 Dec 2006 20:04:05 +0000 (20:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 14 Dec 2006 20:04:05 +0000 (20:04 +0000)
ChangeLog
misc/tst-pselect.c

index cdcdf5a..f346301 100644 (file)
--- 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
index 54c5ee8..35d51d8 100644 (file)
@@ -38,7 +38,7 @@ do_test (void)
       return 1;
     }
 
-  if (sigblock (SIGUSR1) != 0)
+  if (sigblock (sigmask (SIGUSR1)) != 0)
     {
       puts ("sigblock failed");
       return 1;