summaryrefslogtreecommitdiff
path: root/trans/null.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/null.c')
-rw-r--r--trans/null.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/trans/null.c b/trans/null.c
index 2729a639..b0924dbf 100644
--- a/trans/null.c
+++ b/trans/null.c
@@ -99,11 +99,12 @@ trivfs_goaway (struct trivfs_control *fsys, int flags)
mapping; they will set none of the ports and return an error. Such
objects can still be accessed by io_read and io_write. */
kern_return_t
-trivfs_S_io_map(struct trivfs_protid *cred,
- memory_object_t *rdobj,
- mach_msg_type_name_t *rdtype,
- memory_object_t *wrobj,
- mach_msg_type_name_t *wrtype)
+trivfs_S_io_map_segment(struct trivfs_protid *cred,
+ int index,
+ memory_object_t *rdobj,
+ mach_msg_type_name_t *rdtype,
+ memory_object_t *wrobj,
+ mach_msg_type_name_t *wrtype)
{
return EINVAL; /* XXX should work! */
}