summaryrefslogtreecommitdiff
path: root/libtrivfs/io-modes-get.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-08 21:50:05 +0000
committerRoland McGrath <roland@gnu.org>1999-11-08 21:50:05 +0000
commit0169b627239a4222d2af960f9e1985c278782707 (patch)
treeed92aa5c40fe8a752be85f21fa1aa1537b3c9b06 /libtrivfs/io-modes-get.c
parent7aee123c0d0f02e525035879209e59f61605c684 (diff)
1999-11-08 Roland McGrath <roland@baalperazim.frob.com>
* io-modes-get.c (trivfs_S_io_get_openmodes): Remove assert. The default implementation ought to be fine for this.
Diffstat (limited to 'libtrivfs/io-modes-get.c')
-rw-r--r--libtrivfs/io-modes-get.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libtrivfs/io-modes-get.c b/libtrivfs/io-modes-get.c
index 025ed782..d0da546c 100644
--- a/libtrivfs/io-modes-get.c
+++ b/libtrivfs/io-modes-get.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1993,94,99 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -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,7 +29,6 @@ trivfs_S_io_get_openmodes (struct trivfs_protid *cred,
mach_msg_type_name_t replytype,
int *bits)
{
- assert (!trivfs_support_read && !trivfs_support_write);
if (!cred)
return EOPNOTSUPP;
else
@@ -38,5 +37,3 @@ trivfs_S_io_get_openmodes (struct trivfs_protid *cred,
return 0;
}
}
-
-