about summary refs log tree commit diff
path: root/sysdeps/posix/wait3.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2016-09-02 16:57:59 -0700
committerRoland McGrath <roland@hack.frob.com>2016-09-02 16:57:59 -0700
commit9a3d16ac152447567bfc822497c564a0630c79fe (patch)
treec1dac740557f6428f45779cc391a0cabf59092d0 /sysdeps/posix/wait3.c
parent307c2c2dfff76330a29a3ab69a0177b118142145 (diff)
downloadglibc-9a3d16ac152447567bfc822497c564a0630c79fe.tar.gz
glibc-9a3d16ac152447567bfc822497c564a0630c79fe.tar.xz
glibc-9a3d16ac152447567bfc822497c564a0630c79fe.zip
Fix generic wait3 after union wait_status removal.
	* sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
	not any more.
Diffstat (limited to 'sysdeps/posix/wait3.c')
-rw-r--r--sysdeps/posix/wait3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/wait3.c b/sysdeps/posix/wait3.c
index cf43d973a7..73722d2be6 100644
--- a/sysdeps/posix/wait3.c
+++ b/sysdeps/posix/wait3.c
@@ -33,7 +33,7 @@ __wait3 (int *stat_loc, int options, struct rusage *usage)
       __set_errno (ENOSYS);
       return (pid_t) -1;
     }
-  return __waitpid (WAIT_ANY, stat_loc.__iptr, options);
+  return __waitpid (WAIT_ANY, stat_loc, options);
 }
 
 weak_alias (__wait3, wait3)