fix another ppoll issue (missing sigset_t size argument)
authorRich Felker <dalias@aerifal.cx>
Mon, 10 Sep 2012 22:37:27 +0000 (18:37 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 10 Sep 2012 22:37:27 +0000 (18:37 -0400)
src/linux/ppoll.c

index d49e836..f026889 100644 (file)
@@ -5,5 +5,5 @@
 int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
 {
        return syscall_cp(SYS_ppoll, fds, n,
 int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
 {
        return syscall_cp(SYS_ppoll, fds, n,
-               to ? (struct timespec []){*to} : 0, mask);
+               to ? (struct timespec []){*to} : 0, mask, __SYSCALL_SSLEN);
 }
 }