* [COMMITTED PATCH] NaCl: Fix compile error for __dup after libc_hidden_proto addition.
@ 2016-09-03 0:02 Roland McGrath
0 siblings, 0 replies; only message in thread
From: Roland McGrath @ 2016-09-03 0:02 UTC (permalink / raw)
To: GNU C. Library
* 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-03 0:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-03 0:02 [COMMITTED PATCH] NaCl: Fix compile error for __dup after libc_hidden_proto addition Roland McGrath
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).