summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:27 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:27 +0000
commitb2f1ac17a7102fc4e31e19459d90664492fc9f7c (patch)
tree01f49696544325769124fc3ea8b7d09dad86a9dd
parent9967ca18e63b19f5afc7d8a0f194d2ed52705b35 (diff)
Formerly io-modes-set.c.~2~
-rw-r--r--libdiskfs/io-modes-set.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libdiskfs/io-modes-set.c b/libdiskfs/io-modes-set.c
index 4159b0ac..050b1c1c 100644
--- a/libdiskfs/io-modes-set.c
+++ b/libdiskfs/io-modes-set.c
@@ -15,6 +15,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "priv.h"
+#include "io_S.h"
+
/* Implement io_set_all_openmodes as described in <hurd/io.defs>. */
error_t
S_io_set_all_openmodes (struct protid *cred,
@@ -24,7 +27,7 @@ S_io_set_all_openmodes (struct protid *cred,
return EOPNOTSUPP;
mutex_lock (&cred->po->ip->lock);
- err = ioserver_get_conch (&np->conch);
+ ioserver_get_conch (&np->conch);
if (!err)
cred->po->openstat = (modes & HONORED_STATE_MODES);
mutex_unlock (&cred->po->ip->lock);