projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix dlsym RTLD_NEXT support
[oweals/musl.git]
/
src
/
select
/
poll.c
diff --git
a/src/select/poll.c
b/src/select/poll.c
index caceebaf08c819c2beae94d19416db78541dd3e9..f1e73e82f75d076f9c7cd32daed202a4f05908cf 100644
(file)
--- 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);
}