summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-04 21:10:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-04 21:10:14 +0000
commit981cf8f21c1c531b4faaa690e330cb1799dc562b (patch)
tree1609f7966dc67b106df82c38e6a3f71be14e4c34
parent386b07b217936be58d268300d79873a46deb3dee (diff)
Formerly conch-set.c.~3~
-rw-r--r--libdiskfs/conch-set.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/conch-set.c b/libdiskfs/conch-set.c
index 8ade76e1..3d238b22 100644
--- a/libdiskfs/conch-set.c
+++ b/libdiskfs/conch-set.c
@@ -17,6 +17,7 @@
#include "priv.h"
#include <hurd/ioserver.h>
+#include <fcntl.h>
/* Write current values into the shared page. Callers must have the
share lock on the shared page, as well as the inode toplock.
@@ -40,7 +41,7 @@ ioserver_put_shared_data (void *arg)
cred->mapped->xx_file_pointer = cred->po->filepointer;
cred->mapped->rd_file_pointer = -1;
cred->mapped->wr_file_pointer = -1;
- cred->mapped->file_size = cred->po->ip->dn_stat.st_size;
+ cred->mapped->file_size = cred->po->np->dn_stat.st_size;
cred->mapped->written = 0;
cred->mapped->accessed = 0;
}