From 45a569132f7b3d9c5ae0080908491baf525fa511 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 8 Sep 1999 08:43:06 +0000 Subject: 1999-09-07 Thomas Bushnell, BSG * 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. --- libtrivfs/io-map.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libtrivfs/io-map.c') 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); } -- cgit v1.2.3