From cba5eb60f84e76121a9d8949e6e2464204c6db8b Mon Sep 17 00:00:00 2001 From: "yungchi@cs.nctu.edu.tw" Date: Mon, 17 Oct 2011 15:49:55 +0000 Subject: [PATCH] use DFS_STATUS_EINVAL git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1768 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/src/dfs_posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);