Dropped LFS_ERR_BADF
We just don't use this error since we assert. Having it in the error enum may give the wrong impression we return it at points. If we even end up needing it, it can be readded to the list.
This commit is contained in:
@@ -103,7 +103,6 @@ enum lfs_error {
|
||||
LFS_ERR_NOTDIR = -20, // Entry is not a dir
|
||||
LFS_ERR_ISDIR = -21, // Entry is a dir
|
||||
LFS_ERR_NOTEMPTY = -39, // Dir is not empty
|
||||
LFS_ERR_BADF = -9, // Bad file number
|
||||
LFS_ERR_FBIG = -27, // File too large
|
||||
LFS_ERR_INVAL = -22, // Invalid parameter
|
||||
LFS_ERR_NOSPC = -28, // No space left on device
|
||||
|
||||
Reference in New Issue
Block a user