summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-05-05 14:09:50 +0000
committerRoland McGrath <roland@gnu.org>1994-05-05 14:09:50 +0000
commitbd14ef64c9e7e5fc047983650676b50e9130e85c (patch)
treec5a24c1989a435276b1f3f635ac869d0ce580e98
parentbc3a95fcdaf52e654c4c4853f7a8ad8490c304ab (diff)
entered into RCS
-rw-r--r--libdiskfs/io-async-icky.c6
-rw-r--r--libdiskfs/io-map-cntl.c6
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 <hurd/io.defs>. */
-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 <mach/default_pager.h>
/* Implement io_map_cntl as described in <hurd/io.defs>. */
-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;
}