summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-19 06:21:19 +0000
committerRoland McGrath <roland@gnu.org>1995-01-19 06:21:19 +0000
commit4ef823f834aa7e8227a30e586819cfad0c152548 (patch)
tree8ca3daf1bfd18333688b10e92fc2d9167e086353 /boot
parentf541920a69114f7611dce66fa39978aa45a69cd2 (diff)
(S_io_select): Updated to new io_select protocol.
Diffstat (limited to 'boot')
-rw-r--r--boot/boot.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/boot/boot.c b/boot/boot.c
index 14d0a89a..17e5f4a0 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -1,6 +1,6 @@
/* Load a task using the single server, and then run it
as if we were the kernel.
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -1586,11 +1586,8 @@ kern_return_t
S_io_select (mach_port_t object,
mach_port_t reply_port,
mach_msg_type_name_t reply_type,
- int type,
- mach_port_t ret,
- mach_msg_type_name_t rettype,
- int tag,
- int *result)
+ int *type,
+ int *tag)
{
fd_set r, w, x;
int n;
@@ -1614,13 +1611,12 @@ S_io_select (mach_port_t object,
return errno;
if (! FD_ISSET (0, &r))
- type &= ~SELECT_READ;
+ *type &= ~SELECT_READ;
if (! FD_ISSET (0, &w))
- type &= ~SELECT_WRITE;
+ *type &= ~SELECT_WRITE;
if (! FD_ISSET (0, &x))
- type &= ~SELECT_URG;
+ *type &= ~SELECT_URG;
- *result = type;
return 0;
}