mirror of git://sourceware.org/git/glibc.git
(__select): Swap size args to mach_msg.
This commit is contained in:
parent
756245d743
commit
53525291ae
|
@ -189,7 +189,7 @@ DEFUN(__select, (nfds, readfds, writefds, exceptfds, timeout),
|
||||||
error_t msgerr;
|
error_t msgerr;
|
||||||
while ((msgerr = __mach_msg (&msg.head,
|
while ((msgerr = __mach_msg (&msg.head,
|
||||||
MACH_RCV_MSG | options,
|
MACH_RCV_MSG | options,
|
||||||
sizeof msg, 0, port, to,
|
0, sizeof msg, port, to,
|
||||||
MACH_PORT_NULL)) == MACH_MSG_SUCCESS)
|
MACH_PORT_NULL)) == MACH_MSG_SUCCESS)
|
||||||
{
|
{
|
||||||
/* We got a message. Decode it. */
|
/* We got a message. Decode it. */
|
||||||
|
|
Loading…
Reference in New Issue