This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] NaCl: Fix compile error for __dup after libc_hidden_proto addition.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Fri, 2 Sep 2016 17:02:45 -0700 (PDT)
- Subject: [COMMITTED PATCH] NaCl: Fix compile error for __dup after libc_hidden_proto addition.
- Authentication-results: sourceware.org; auth=none
* sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
not any more.
diff --git a/sysdeps/posix/wait3.c b/sysdeps/posix/wait3.c
index cf43d97..73722d2 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)