From bd14ef64c9e7e5fc047983650676b50e9130e85c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 5 May 1994 14:09:50 +0000 Subject: entered into RCS --- libdiskfs/io-async-icky.c | 6 ++++-- libdiskfs/io-map-cntl.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libdiskfs/io-async-icky.c b/libdiskfs/io-async-icky.c index 390d6d03..93ef8f50 100644 --- a/libdiskfs/io-async-icky.c +++ b/libdiskfs/io-async-icky.c @@ -19,10 +19,12 @@ #include "io_S.h" /* Implement io_get_icky_async_id as described in . */ -error_t +kern_return_t diskfs_S_io_get_icky_async_id (struct protid *cred, - mach_port_t *idport) + mach_port_t *idport, + mach_msg_type_name_t *idport_type) { *idport = MACH_PORT_NULL; + *idport_type = MACH_MSG_TYPE_COPY_SEND; return 0; } diff --git a/libdiskfs/io-map-cntl.c b/libdiskfs/io-map-cntl.c index ac30e718..455da0e6 100644 --- a/libdiskfs/io-map-cntl.c +++ b/libdiskfs/io-map-cntl.c @@ -20,9 +20,10 @@ #include /* Implement io_map_cntl as described in . */ -error_t +kern_return_t diskfs_S_io_map_cntl (struct protid *cred, - memory_object_t *ctlobj) + memory_object_t *ctlobj, + mach_msg_type_name_t *ctlobj_type) { if (!cred) return EOPNOTSUPP; @@ -39,6 +40,7 @@ diskfs_S_io_map_cntl (struct protid *cred, cred->mapped->conch_status = USER_HAS_NOT_CONCH; spin_lock_init (&cred->mapped->lock); *ctlobj = cred->shared_object; + *ctlobj_type = MACH_MSG_TYPE_COPY_SEND; mutex_unlock (&cred->po->np->lock); return 0; } -- cgit v1.2.3