fix lseek para. err.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1359 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
ac97bc17bd
commit
ab2ddad116
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue