diff options
Diffstat (limited to 'src/select/poll.c')
-rw-r--r-- | src/select/poll.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/select/poll.c b/src/select/poll.c index caceebaf..f1e73e82 100644 --- a/src/select/poll.c +++ b/src/select/poll.c @@ -4,9 +4,5 @@ int poll(struct pollfd *fds, nfds_t n, int timeout) { - int r; - CANCELPT_BEGIN; - r = syscall(SYS_poll, fds, n, timeout); - CANCELPT_END; - return r; + return syscall_cp(SYS_poll, fds, n, timeout); } |