浏览代码

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 14 年之前
父节点
当前提交
cba5eb60f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);