(__select): Need bit count for MACH_MSG_TYPE_INTEGER_T.
authordrepper <drepper>
Fri, 11 Jul 1997 00:40:27 +0000 (00:40 +0000)
committerdrepper <drepper>
Fri, 11 Jul 1997 00:40:27 +0000 (00:40 +0000)
sysdeps/mach/hurd/select.c

index be27b66..904e141 100644 (file)
@@ -223,7 +223,7 @@ __select (nfds, readfds, writefds, exceptfds, timeout)
          /* We got a message.  Decode it.  */
 #define IO_SELECT_REPLY_MSGID (21012 + 100) /* XXX */
          const mach_msg_type_t inttype =
-           { MACH_MSG_TYPE_INTEGER_T, sizeof (MACH_MSG_TYPE_INTEGER_T),
+           { MACH_MSG_TYPE_INTEGER_T, sizeof (MACH_MSG_TYPE_INTEGER_T) * 8,
              1, 1, 0, 0 };
          if (msg.head.msgh_id == IO_SELECT_REPLY_MSGID &&
              msg.head.msgh_size >= sizeof msg.error &&