Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lfs.h
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-11-17 02:50:14 +0300
committerChristopher Haster <chaster@utexas.edu>2017-11-17 02:50:14 +0300
commitf9f4f5ccec410944121ca3aee904f2f904f33d45 (patch)
tree1944bfe6a829b1b388ca225689c9400e0d455cf3 /lfs.h
parent843e3c6c7544de3ebb03821514f9cb7b1135e8cf (diff)
Fixed standard name mismatch LFS_ERR_EXISTS -> LFS_ERR_EXIST
Matches the standard EEXIST name found on most systems. Other than this name, all other common constant names were consistent in this manner.
Diffstat (limited to 'lfs.h')
-rw-r--r--lfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lfs.h b/lfs.h
index 815c7d7..7757f8b 100644
--- a/lfs.h
+++ b/lfs.h
@@ -45,7 +45,7 @@ enum lfs_error {
LFS_ERR_IO = -5, // Error during device operation
LFS_ERR_CORRUPT = -52, // Corrupted
LFS_ERR_NOENT = -2, // No directory entry
- LFS_ERR_EXISTS = -17, // Entry already exists
+ LFS_ERR_EXIST = -17, // Entry already exists
LFS_ERR_NOTDIR = -20, // Entry is not a dir
LFS_ERR_ISDIR = -21, // Entry is a dir
LFS_ERR_INVAL = -22, // Invalid parameter