diff options
-rw-r--r-- | libtrivfs/io-select.c | 15 |
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; } |