summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-05 14:09:49 +0000
committerRoland McGrath <roland@gnu.org>1994-05-05 14:09:49 +0000
commitbc3a95fcdaf52e654c4c4853f7a8ad8490c304ab (patch)
tree1978d409c9e656050d6ccd6658808ecce89e7859
parent3910fe859db8a1ecaa47cc917b3e634f6209b517 (diff)
Formerly io-async.c.~3~
-rw-r--r--libdiskfs/io-async.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libdiskfs/io-async.c b/libdiskfs/io-async.c
index 05c03df1..1d7e26e5 100644
--- a/libdiskfs/io-async.c
+++ b/libdiskfs/io-async.c
@@ -19,13 +19,15 @@
#include "io_S.h"
/* Implement io_async as described in <hurd/io.defs>. */
-error_t
+kern_return_t
diskfs_S_io_async (struct protid *cred,
mach_port_t notify,
- mach_port_t *idport)
+ mach_port_t *idport,
+ mach_msg_type_name_t *idport_type)
{
mach_port_deallocate (mach_task_self (), notify);
*idport = MACH_PORT_NULL;
- return EOPNOTSUPP;
+ *idport_type = MACH_MSG_TYPE_COPY_SEND;
+ return 0;
}