summaryrefslogtreecommitdiff
path: root/libtrivfs/io-map.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-08 08:43:06 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-08 08:43:06 +0000
commit45a569132f7b3d9c5ae0080908491baf525fa511 (patch)
tree2fbf3936bfe00588232e241b32ff7405df8fd005 /libtrivfs/io-map.c
parentbd1306f7f3c4441bbb057b031f251e2f31317d79 (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* io-map-segment.c (trivfs_S_io_map): New file. * io-map.c (trivfs_S_io_map): Just call trivfs_S_io_map_segment. * Makefile (IOSRCS): Add io-map-segment.c.
Diffstat (limited to 'libtrivfs/io-map.c')
-rw-r--r--libtrivfs/io-map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtrivfs/io-map.c b/libtrivfs/io-map.c
index f94bf8a5..958b53cf 100644
--- a/libtrivfs/io-map.c
+++ b/libtrivfs/io-map.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1993, 1994, 1999 Free Software Foundation
This file is part of the GNU Hurd.
@@ -32,6 +32,6 @@ trivfs_S_io_map (struct trivfs_protid *cred,
mach_port_t *wrobj,
mach_msg_type_name_t *wrtype)
{
- assert (!trivfs_support_read && !trivfs_support_write);
- return EOPNOTSUPP;
+ return trivfs_S_io_map_segment (cred, 0, reply, replytype,
+ rdobj, rdtype, wrobj, wrtype);
}