diff options
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/epoll_pwait.c | 2 | ||||
-rw-r--r-- | src/linux/signalfd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/linux/epoll_pwait.c b/src/linux/epoll_pwait.c index 39ad5b7..3ecdbb5 100644 --- a/src/linux/epoll_pwait.c +++ b/src/linux/epoll_pwait.c @@ -3,5 +3,5 @@ int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs) { - return syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, 8); + return syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, __SYSCALL_SSLEN); } diff --git a/src/linux/signalfd.c b/src/linux/signalfd.c index 99c3514..1a6c03c 100644 --- a/src/linux/signalfd.c +++ b/src/linux/signalfd.c @@ -3,5 +3,5 @@ int signalfd(int fd, const sigset_t *sigs, int flags) { - return syscall(SYS_signalfd, fd, sigs, 8); + return syscall(SYS_signalfd, fd, sigs, __SYSCALL_SSLEN); } |