summaryrefslogtreecommitdiff
path: root/libtrivfs/io-owner-get.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-owner-get.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-owner-get.c')
-rw-r--r--libtrivfs/io-owner-get.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libtrivfs/io-owner-get.c b/libtrivfs/io-owner-get.c
index d91cd4cc..82fe9211 100644
--- a/libtrivfs/io-owner-get.c
+++ b/libtrivfs/io-owner-get.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.
@@ -29,6 +29,5 @@ trivfs_S_io_get_owner (struct trivfs_protid *cred,
mach_msg_type_name_t replytype,
pid_t *owner)
{
- assert (!trivfs_support_read && !trivfs_support_write);
return EOPNOTSUPP;
}