mirror of
https://github.com/armink/FlashDB.git
synced 2026-08-17 09:01:46 +08:00
[fdb] fix error code.
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ fdb_err_t _fdb_file_write(fdb_db_t db, uint32_t addr, const void *buf, size_t si
|
||||
fsync(fd);
|
||||
}
|
||||
} else {
|
||||
result = FDB_READ_ERR;
|
||||
result = FDB_WRITE_ERR;
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user