summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;