diff options
Diffstat (limited to 'src/signal/sigsuspend.c')
-rw-r--r-- | src/signal/sigsuspend.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/signal/sigsuspend.c b/src/signal/sigsuspend.c index cec5ddce..cd3a7b59 100644 --- a/src/signal/sigsuspend.c +++ b/src/signal/sigsuspend.c @@ -4,10 +4,5 @@ int sigsuspend(const sigset_t *mask) { - int ret; - CANCELPT_BEGIN; - ret = syscall(SYS_rt_sigsuspend, mask, 8); - if (ret<0) CANCELPT_TRY; - CANCELPT_END; - return ret; + return syscall_cp(SYS_rt_sigsuspend, mask, 8); } |