[fdb] fix error code.
This commit is contained in:
parent
91072137d7
commit
fd062f7053
|
@ -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);
|
fsync(fd);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
result = FDB_READ_ERR;
|
result = FDB_WRITE_ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue