fix dlsym RTLD_NEXT support
[oweals/musl.git] / src / select / poll.c
index e92943e110704ec1a49903fb716f2301fc276e23..f1e73e82f75d076f9c7cd32daed202a4f05908cf 100644 (file)
@@ -4,9 +4,5 @@
 
 int poll(struct pollfd *fds, nfds_t n, int timeout)
 {
-       int r;
-       CANCELPT_BEGIN;
-       r = syscall3(__NR_poll, (long)fds, n, timeout);
-       CANCELPT_END;
-       return r;
+       return syscall_cp(SYS_poll, fds, n, timeout);
 }