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.
This commit is contained in:
Christopher Haster
2017-11-16 17:50:14 -06:00
parent 843e3c6c75
commit f9f4f5ccec
3 changed files with 4 additions and 4 deletions

2
lfs.h
View File

@@ -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