From bc3a95fcdaf52e654c4c4853f7a8ad8490c304ab Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 May 1994 14:09:49 +0000 Subject: Formerly io-async.c.~3~ --- libdiskfs/io-async.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libdiskfs/io-async.c') 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 . */ -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; } -- cgit v1.2.3