Use a more understandable name

This commit is contained in:
Nicolas Tsiftes 2011-02-09 15:17:25 +01:00
parent c77cb63df1
commit 774aa3984a
2 changed files with 3 additions and 3 deletions

View file

@ -1184,7 +1184,7 @@ cfs_write(int fd, const void *buf, unsigned size)
#if COFFEE_MICRO_LOGS
#if COFFEE_IO_SEMANTICS
if(!(fdp->io_flags & CFS_COFFEE_IO_TOGGLE_ONLY) &&
if(!(fdp->io_flags & CFS_COFFEE_IO_FLASH_AWARE) &&
(FILE_MODIFIED(file) || fdp->offset < file->end)) {
#else
if(FILE_MODIFIED(file) || fdp->offset < file->end) {

View file

@ -50,7 +50,7 @@
*
* \sa cfs_coffee_set_io_semantics()
*/
#define CFS_COFFEE_IO_TOGGLE_ONLY 0x1
#define CFS_COFFEE_IO_FLASH_AWARE 0x1
/**
* Instruct Coffee not to attempt to extend the file when there is
@ -61,7 +61,7 @@
*
* \sa cfs_coffee_set_io_semantics()
*/
#define CFS_COFFEE_IO_FIRM_SIZE 0x2
#define CFS_COFFEE_IO_FIRM_SIZE 0x2
/**
* \file