(__select): Swap size args to mach_msg.
authorMiles Bader <miles@gnu.org>
Wed, 6 Dec 1995 23:45:07 +0000 (23:45 +0000)
committerMiles Bader <miles@gnu.org>
Wed, 6 Dec 1995 23:45:07 +0000 (23:45 +0000)
sysdeps/mach/hurd/select.c

index 434cfbb..3de8f20 100644 (file)
@@ -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.  */