提交 ab2ddad1 编写于 作者: I iamyhw@gmail.com

fix lseek para. err.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1359 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 ac97bc17
......@@ -216,7 +216,7 @@ int dfs_uffs_lseek(struct dfs_fd* fd, rt_off_t offset)
fp = (uffs_Object*)(fd->data);
RT_ASSERT(fp != RT_NULL);
return uffs_SeekObject(fp, USEEK_SET, offset);
return uffs_SeekObject(fp, offset, USEEK_SET);
}
int dfs_uffs_getdents(struct dfs_fd* fd, struct dirent* dir, rt_uint32_t count)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册