diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2009-10-18 11:42:55 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-10-18 12:40:23 +0200 |
commit | 9febf21f63f44e945b023bad1d0cef1f86db83f7 (patch) | |
tree | 79ef0ff9e4b68e11861d0af5db8c136f2d24d9d8 | |
parent | fb30b6bbf28d91667dcb9691dfeefffac4f99b82 (diff) |
Use SIGUSR1 instead of SIGINFO.
SIGINFO has a specific (different) meaning, SIGUSR1 doesn't.
* tests/test-16.c: Use SIGUSR1 instead of SIGINFO.
-rw-r--r-- | tests/test-16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-16.c b/tests/test-16.c index b6a52d0..c4030ae 100644 --- a/tests/test-16.c +++ b/tests/test-16.c @@ -21,7 +21,7 @@ test (void *arg) printf ("test: %d\n", pthread_self ()); - err = pthread_kill (pthread_self (), SIGINFO); + err = pthread_kill (pthread_self (), SIGUSR1); if (err) error (1, err, "pthread_kill"); @@ -53,7 +53,7 @@ main (int argc, char **argv) sa.sa_mask = 0; sa.sa_flags = 0; - err = sigaction (SIGINFO, &sa, 0); + err = sigaction (SIGUSR1, &sa, 0); if (err) error (1, err, "sigaction"); |