aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_filedesc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_filedesc.c b/sys/kern/kern_filedesc.c
index 8e15d48..5488c35 100644
--- a/sys/kern/kern_filedesc.c
+++ b/sys/kern/kern_filedesc.c
@@ -337,6 +337,7 @@ read(int fd, void *buf, size_t count)
}
bytes_read = vfs_read(vnode, &sio);
+ fd_desc->offset += bytes_read;
return bytes_read;
}