summaryrefslogtreecommitdiff
path: root/libdiskfs/io-get-conch.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:35 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:35 +0000
commit14310193181fa11a33617566aee395e8cf6f8bd7 (patch)
tree68cb14d982a5dfa3f2e23b750c1dc7200dceae58 /libdiskfs/io-get-conch.c
parent71a01c314492c389be1f0000b4a13db453dba7fd (diff)
Formerly io-get-conch.c.~2~
Diffstat (limited to 'libdiskfs/io-get-conch.c')
-rw-r--r--libdiskfs/io-get-conch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdiskfs/io-get-conch.c b/libdiskfs/io-get-conch.c
index 68558952..fad1e16b 100644
--- a/libdiskfs/io-get-conch.c
+++ b/libdiskfs/io-get-conch.c
@@ -16,6 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "io_S.h"
/* Implement io_get_conch as described in <hurd/io.defs>. */
error_t
@@ -37,8 +38,8 @@ S_io_get_conch (struct protid *cred)
return EINVAL;
}
- error = ioserver_handle_io_get_conch (&np->conch, cred, cred->mapped);
+ ioserver_handle_io_get_conch (&np->conch, cred, cred->mapped);
mutex_unlock (&np->lock);
- return error;
+ return 0;
}