summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-18 00:00:26 +0000
committerRoland McGrath <roland@gnu.org>1995-01-18 00:00:26 +0000
commitb72c5e3dcde1891d9b868c5462bfee20d81d3731 (patch)
tree937e1be2638c6647d2b3add2e23f700ad6257e10 /libtrivfs
parent9f0d8221034bf8735919e7bd2c2e72e4db2947e2 (diff)
Updated for new io_select interface.
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/io-select.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/libtrivfs/io-select.c b/libtrivfs/io-select.c
index 077395d8..9de93176 100644
--- a/libtrivfs/io-select.c
+++ b/libtrivfs/io-select.c
@@ -1,5 +1,5 @@
-/*
- Copyright (C) 1993, 1994 Free Software Foundation
+/* Stub io_select RPC for trivfs library.
+ Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -27,17 +27,14 @@ kern_return_t
trivfs_S_io_select (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype,
- int seltype,
- mach_port_t notify,
- mach_msg_type_name_t notifytype,
- int tag,
- int *result)
+ int *seltype,
+ int *tag)
{
if (!cred)
return EOPNOTSUPP;
- if (seltype & (SELECT_READ|SELECT_URG))
+ if (*seltype & (SELECT_READ|SELECT_URG))
assert (!trivfs_support_read);
- if (seltype & (SELECT_WRITE|SELECT_URG))
+ if (*seltype & (SELECT_WRITE|SELECT_URG))
assert (!trivfs_support_write);
return EOPNOTSUPP;
}