Browse Source

use DFS_STATUS_EINVAL

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316
yungchi@cs.nctu.edu.tw 13 years ago
parent
commit
cba5eb60f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/src/dfs_posix.c

+ 1 - 1
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);