From b72c5e3dcde1891d9b868c5462bfee20d81d3731 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 18 Jan 1995 00:00:26 +0000 Subject: Updated for new io_select interface. --- libtrivfs/io-select.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'libtrivfs/io-select.c') 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; } -- cgit v1.2.3