summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread/uthread_sigwait.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_sigwait.c')
-rw-r--r--lib/libc_r/uthread/uthread_sigwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_sigwait.c b/lib/libc_r/uthread/uthread_sigwait.c
index 1e87249..a3da75f 100644
--- a/lib/libc_r/uthread/uthread_sigwait.c
+++ b/lib/libc_r/uthread/uthread_sigwait.c
@@ -54,7 +54,7 @@ _sigwait(const sigset_t *set, int *sig)
* Specify the thread kernel signal handler.
*/
act.sa_handler = (void (*) ()) _thread_sig_handler;
- act.sa_flags = SA_RESTART | SA_SIGINFO;
+ act.sa_flags = SA_SIGINFO | SA_RESTART;
/* Ensure the signal handler cannot be interrupted by other signals: */
sigfillset(&act.sa_mask);
OpenPOWER on IntegriCloud