summaryrefslogtreecommitdiff
path: root/libdiskfs/node-rdwr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/node-rdwr.c')
-rw-r--r--libdiskfs/node-rdwr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/node-rdwr.c b/libdiskfs/node-rdwr.c
index 9a4f7788..4ed6e157 100644
--- a/libdiskfs/node-rdwr.c
+++ b/libdiskfs/node-rdwr.c
@@ -55,7 +55,7 @@ diskfs_node_rdwr (struct node *np,
amt = np->dn_stat.st_size - off;
}
- err = _diskfs_rdwr_internal (np, data, off, amt, dir);
+ err = _diskfs_rdwr_internal (np, data, off, amt, dir, 0);
if (!err && amtread)
*amtread = amt;