use DFS_STATUS_EINVAL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
f66dafe7a6
commit
cba5eb60f8
|
@ -202,7 +202,7 @@ off_t lseek(int fd, off_t offset, int whence)
|
|||
|
||||
if( offset < 0 )
|
||||
{
|
||||
rt_set_errno(EINVAL);
|
||||
rt_set_errno(DFS_STATUS_EINVAL);
|
||||
return -1;
|
||||
}
|
||||
result = dfs_file_lseek(d, offset);
|
||||
|
|
Loading…
Reference in New Issue