From c8cde977f430e6c4510f073959eb5811e4200c35 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 28 Sep 2004 00:42:52 +0000 Subject: 2004-09-27 Roland McGrath * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to all three syscall uses, not just one! --- sysdeps/unix/sysv/linux/waitid.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/linux/waitid.c b/sysdeps/unix/sysv/linux/waitid.c index 21226df37e..207c3d3453 100644 --- a/sysdeps/unix/sysv/linux/waitid.c +++ b/sysdeps/unix/sysv/linux/waitid.c @@ -47,10 +47,11 @@ do_waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) { static int waitid_works; if (waitid_works > 0) - return INLINE_SYSCALL (waitid, 4, idtype, id, infop, options); + return INLINE_SYSCALL (waitid, 5, idtype, id, infop, options, NULL); if (waitid_works == 0) { - int result = INLINE_SYSCALL (waitid, 4, idtype, id, infop, options); + int result = INLINE_SYSCALL (waitid, 5, + idtype, id, infop, options, NULL); if (result < 0 && errno == ENOSYS) waitid_works = -1; else -- cgit v1.2.3