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:
iamyhw@gmail.com 2011-04-01 09:53:50 +00:00
parent ac97bc17bd
commit ab2ddad116
1 changed files with 1 additions and 1 deletions

View File

@ -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)