summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-19 08:28:13 +0000
committerRoland McGrath <roland@gnu.org>1995-01-19 08:28:13 +0000
commit31d7e98faa9973234f739c5d640e26aa7e34e81a (patch)
treef6d1f1d974259b4fb7db5b24a554ada97643535f /boot
parent33b8c87b89ac9a8cc821f34f0e1a18b3c6def1be (diff)
(S_io_select): Fix typo in last change.
Diffstat (limited to 'boot')
-rw-r--r--boot/boot.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/boot.c b/boot/boot.c
index 17e5f4a0..e9fb11d9 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -1603,9 +1603,9 @@ S_io_select (mach_port_t object,
FD_SET (0, &x);
n = select (1,
- (type & SELECT_READ) ? &r : 0,
- (type & SELECT_WRITE) ? &w : 0,
- (type & SELECT_URG) ? &x : 0,
+ (*type & SELECT_READ) ? &r : 0,
+ (*type & SELECT_WRITE) ? &w : 0,
+ (*type & SELECT_URG) ? &x : 0,
0);
if (n < 0)
return errno;