summaryrefslogtreecommitdiff
path: root/libdiskfs/io-select.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:15 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:15 +0000
commit3e9721643367086d360220282905019000ef28e9 (patch)
tree141bbb7a359d71b85c9af72c8f3f2980608fbc10 /libdiskfs/io-select.c
parenta890d0526034e16a425fe5b58e6ccb5e99c2b6d2 (diff)
Formerly io-select.c.~2~
Diffstat (limited to 'libdiskfs/io-select.c')
-rw-r--r--libdiskfs/io-select.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdiskfs/io-select.c b/libdiskfs/io-select.c
index 62c0a280..265f8774 100644
--- a/libdiskfs/io-select.c
+++ b/libdiskfs/io-select.c
@@ -16,6 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "io_S.h"
/* Implement io_select as described in <hurd/io.defs>. */
error_t
@@ -29,6 +30,7 @@ diskfs_S_io_select (struct protid *cred,
return EOPNOTSUPP;
/* Select is always possible */
+ /* XXX should check open modes. */
mach_port_deallocate (mach_task_self (), port);
*possible = type;
return 0;