summaryrefslogtreecommitdiff
path: root/netfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'netfs.c')
-rw-r--r--netfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs.c b/netfs.c
index 31ffe1b5..7e00e4d4 100644
--- a/netfs.c
+++ b/netfs.c
@@ -435,7 +435,7 @@ error_t netfs_attempt_read (struct iouser *cred, struct node *node,
if (! err)
{
if (*len > 0)
- procfs_write_files_contents (node, offset,
+ procfs_read_files_contents (node, offset,
len, data);
if (*len > 0)
if (offset >= *len)