mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	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:
		
							
								
								
									
										2
									
								
								lfs.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user