summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/dfs/src/dfs_posix.c2
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);