projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
770be06
)
2004-09-18 Roland McGrath <roland@redhat.com>
author
Roland McGrath
<roland@gnu.org>
Sat, 18 Sep 2004 08:44:59 +0000
(08:44 +0000)
committer
Roland McGrath
<roland@gnu.org>
Sat, 18 Sep 2004 08:44:59 +0000
(08:44 +0000)
* sysdeps/unix/sysv/linux/waitid.c (do_waitid): Pass fifth argument to
system call.
sysdeps/unix/sysv/linux/waitid.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/waitid.c
b/sysdeps/unix/sysv/linux/waitid.c
index 8dcee0c33c9c8fc679e7eba683da49a364a820ec..21226df37e201a3417b7fd2867d522efe88ded27 100644
(file)
--- 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