From: Roland McGrath Date: Sat, 18 Sep 2004 08:44:59 +0000 (+0000) Subject: 2004-09-18 Roland McGrath X-Git-Tag: cvs/fedora-base~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9269ffcf5fef35fed54186453d92c133ccfb9e1;p=thirdparty%2Fglibc.git 2004-09-18 Roland McGrath * sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to system call. --- diff --git a/sysdeps/unix/sysv/linux/waitid.c b/sysdeps/unix/sysv/linux/waitid.c index 8dcee0c33c9..21226df37e2 100644 --- a/sysdeps/unix/sysv/linux/waitid.c +++ b/sysdeps/unix/sysv/linux/waitid.c @@ -30,7 +30,9 @@ static inline int do_waitid (idtype_t idtype, id_t id, siginfo_t *infop, int options) { - return INLINE_SYSCALL (waitid, 4, idtype, id, infop, options); + /* The unused fifth argument is a `struct rusage *' that we could + pass if we were using waitid to simulate wait3/wait4. */ + return INLINE_SYSCALL (waitid, 5, idtype, id, infop, options, NULL); } # define NO_DO_WAITID