summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/dfs/filesystems/uffs/dfs_uffs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/uffs/dfs_uffs.c b/components/dfs/filesystems/uffs/dfs_uffs.c
index c8b2de3d07..18ab13f7ed 100644
--- a/components/dfs/filesystems/uffs/dfs_uffs.c
+++ b/components/dfs/filesystems/uffs/dfs_uffs.c
@@ -76,7 +76,7 @@ static int uffs_result_to_dfs(int result)
status = -DFS_STATUS_EBADF;
break;
case UENOMEM:/** no enough memory */
- status = -DFS_STATUS_ENOMEM;
+ status = -DFS_STATUS_ENOSPC;
break;
case UEIOERR: /** I/O error from lower level flash operation */
status = -DFS_STATUS_EIO;