diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-10-17 21:02:56 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2012-10-17 21:02:56 +0530 |
commit | 37785907d57a771313c658c1b167b06132fb2398 (patch) | |
tree | 84ae88afe9f07807b62410da74b2bcdc0d60815c /nptl/tst-cond25.c | |
parent | 9485a404440e392dbcfdc157bbdf5c863f9c0fce (diff) | |
download | glibc-37785907d57a771313c658c1b167b06132fb2398.tar.gz glibc-37785907d57a771313c658c1b167b06132fb2398.tar.xz glibc-37785907d57a771313c658c1b167b06132fb2398.zip |
Don't check error return for pthread_cancel in tst-cond25
Diffstat (limited to 'nptl/tst-cond25.c')
-rw-r--r-- | nptl/tst-cond25.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/nptl/tst-cond25.c b/nptl/tst-cond25.c index 4488e74ff4..370cd67d1c 100644 --- a/nptl/tst-cond25.c +++ b/nptl/tst-cond25.c @@ -228,11 +228,7 @@ do_test_wait (thr_func f) for (j = 0; j < NUM; j++) { - if ((ret = pthread_cancel (w[j])) != 0) - { - printf ("waiter[%d]: cancel failed: %s\n", j, strerror (ret)); - goto out; - } + pthread_cancel (w[j]); if ((ret = pthread_join (w[j], &thr_ret)) != 0) { |