summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/waitpid.c')
-rw-r--r--sysdeps/unix/bsd/waitpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/waitpid.c b/sysdeps/unix/bsd/waitpid.c
index 083c686ad0..cfe56141a3 100644
--- a/sysdeps/unix/bsd/waitpid.c
+++ b/sysdeps/unix/bsd/waitpid.c
@@ -35,7 +35,7 @@
pid_t
__waitpid (pid_t pid, int *stat_loc, int options)
{
- return __wait4 (pid, (union wait *) stat_loc, options, NULL);
+ return __wait4 (pid, stat_loc, options, NULL);
}
libc_hidden_def (__waitpid)