diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | misc/tst-pselect.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index cdcdf5a42c..f3463017a9 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 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; |