diff options
| author | [email protected] <[email protected]> | 2011-10-17 15:49:55 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-10-17 15:49:55 +0000 |
| commit | cba5eb60f84e76121a9d8949e6e2464204c6db8b (patch) | |
| tree | b028a01b6451b0ee9293fac4314bdab34d62bd29 /components/dfs | |
| parent | f66dafe7a65e8203564a4fb9b4176170737e40ac (diff) | |
use DFS_STATUS_EINVAL
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/src/dfs_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs_posix.c b/components/dfs/src/dfs_posix.c index 97c8ccd83e..1c81e6c1fc 100644 --- a/components/dfs/src/dfs_posix.c +++ b/components/dfs/src/dfs_posix.c @@ -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);
|
