summaryrefslogtreecommitdiff
path: root/libdiskfs/io-readable.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-03 20:34:20 +0000
commit39a50cb67c566b60a4722d743e3cce8017b4c985 (patch)
tree3b9070e98f609d25a29ab7adba06d415861732e1 /libdiskfs/io-readable.c
parentee602fee4a4a5ed1889e5bd3a280b4be0e22ea28 (diff)
Formerly io-readable.c.~2~
Diffstat (limited to 'libdiskfs/io-readable.c')
-rw-r--r--libdiskfs/io-readable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/io-readable.c b/libdiskfs/io-readable.c
index 481b5b67..5bf8c0d7 100644
--- a/libdiskfs/io-readable.c
+++ b/libdiskfs/io-readable.c
@@ -16,6 +16,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "priv.h"
+#include "io_S.h"
/* Implement io_readable as described in <hurd/io.defs>. */
error_t
@@ -34,7 +35,7 @@ diskfs_S_io_readable (struct protid *cred,
np = cred->po->np;
mutex_lock (&np->lock);
- err = ioserver_get_conch (&np->i_conch);
+ err = ioserver_get_conch (&np->conch);
if (!err)
*amount = np->dn_stat.st_size - cred->po->filepointer;