From: Roland McGrath Date: Tue, 28 Sep 2004 00:42:52 +0000 (+0000) Subject: 2004-09-27 Roland McGrath X-Git-Tag: cvs/fedora-glibc-20040929T0821~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8cde977f430e6c4510f073959eb5811e4200c35;p=thirdparty%2Fglibc.git 2004-09-27 Roland McGrath * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Add fifth argument to all three syscall uses, not just one! --- diff --git a/sysdeps/unix/sysv/linux/waitid.c b/sysdeps/unix/sysv/linux/waitid.c index 21226df37e2..207c3d34538 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