diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:40:34 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:40:34 +0000 |
commit | 5f8ee9037ebdec8cf241ee30f0b8375801a2fed2 (patch) | |
tree | 12cc25f643b4808a32879dcbe251edec97f81e21 /libtreefs/s-io.c | |
parent | 6f378c68d569b423dd522568451633d20eb58ed8 (diff) |
Conform to addition of io_map_segment.
Diffstat (limited to 'libtreefs/s-io.c')
-rw-r--r-- | libtreefs/s-io.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libtreefs/s-io.c b/libtreefs/s-io.c index 6fdc504a..3702ee25 100644 --- a/libtreefs/s-io.c +++ b/libtreefs/s-io.c @@ -1,6 +1,6 @@ /* io_t rpc stubs; see <hurd/io.defs> for more info - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1999 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.ai.mit.edu> @@ -85,6 +85,14 @@ treefs_S_io_map (struct treefs_protid *cred, memory_object_t *rdobj, mach_msg_type_name_t *rd_type, memory_object_t *wrobj, mach_msg_type_name_t *wr_type) { + return treefs_S_io_map_segment (cred, 0, rdobj, rd_type, wrobj, wr_type); +} + +error_t +treefs_S_io_map_segment (struct treefs_protid *cred, ind index, + memory_object_t *rdobj, mach_msg_type_name_t *rd_type, + memory_object_t *wrobj, mach_msg_type_name_t *wr_type) +{ if (!cred) return EOPNOTSUPP; return treefs_s_io_map (cred, rdobj, rd_type, wrobj, wr_type); |