diff --git a/sys/fs/vfs/file.c b/sys/fs/vfs/file.c index e63fa63..be9a856 100644 --- a/sys/fs/vfs/file.c +++ b/sys/fs/vfs/file.c @@ -178,6 +178,9 @@ break; } + if (fd->res) + fl_seek(fd->res, fd->offset); + kprintf("loff: %ld", fd->offset); return (error);