summaryrefslogtreecommitdiff
path: root/libtrivfs/io-map.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-08 21:41:05 +0000
committerRoland McGrath <roland@gnu.org>1999-11-08 21:41:05 +0000
commit15bc79389392cfb6f481dcb504e1f00ec0b835c2 (patch)
treeae2e7d3cee57dec5df8ab3dfe0b94df69ddccba4 /libtrivfs/io-map.c
parentb30d3166c69e43b4058b68e7cfc84803c679a835 (diff)
1999-11-08 Roland McGrath <roland@baalperazim.frob.com>
* io-owner-get.c (trivfs_S_io_get_owner): Remove asserts. It is entirely reasonable to have EOPNOTSUPP be the default implementation for these calls that files are not obligated to provide. * io-owner-mod.c (trivfs_S_io_mod_owner): Likewise. * io-map.c (trivfs_S_io_map): Likewise. * io-async.c (trivfs_S_io_async): Likewise. * io-async-icky.c (trivfs_S_io_get_icky_async_id): Likewise.
Diffstat (limited to 'libtrivfs/io-map.c')
-rw-r--r--libtrivfs/io-map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libtrivfs/io-map.c b/libtrivfs/io-map.c
index f94bf8a5..1dc93c22 100644
--- a/libtrivfs/io-map.c
+++ b/libtrivfs/io-map.c
@@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-The GNU Hurd is distributed in the hope that it will be useful,
+The GNU Hurd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@@ -32,6 +32,5 @@ 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;
}