about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-12-06 23:45:07 +0000
committerMiles Bader <miles@gnu.org>1995-12-06 23:45:07 +0000
commit53525291ae0c7b8fe3cfed7d48097cf8dc0c34b0 (patch)
tree80ca139a83f75350cbe11d06fc917dfb11d23e54
parent756245d7430d823343c8502936c2cb24911bd77a (diff)
downloadglibc-53525291ae0c7b8fe3cfed7d48097cf8dc0c34b0.tar.gz
glibc-53525291ae0c7b8fe3cfed7d48097cf8dc0c34b0.tar.xz
glibc-53525291ae0c7b8fe3cfed7d48097cf8dc0c34b0.zip
(__select): Swap size args to mach_msg.
-rw-r--r--sysdeps/mach/hurd/select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/select.c b/sysdeps/mach/hurd/select.c
index 434cfbbec7..3de8f209d2 100644
--- a/sysdeps/mach/hurd/select.c
+++ b/sysdeps/mach/hurd/select.c
@@ -189,7 +189,7 @@ DEFUN(__select, (nfds, readfds, writefds, exceptfds, timeout),
       error_t msgerr;
       while ((msgerr = __mach_msg (&msg.head,
 				   MACH_RCV_MSG | options,
-				   sizeof msg, 0, port, to,
+				   0, sizeof msg, port, to,
 				   MACH_PORT_NULL)) == MACH_MSG_SUCCESS)
 	{
 	  /* We got a message.  Decode it.  */