From 774aa3984a518c0b637d97f7f13db35f3b0b956f Mon Sep 17 00:00:00 2001 From: Nicolas Tsiftes Date: Wed, 9 Feb 2011 15:17:25 +0100 Subject: [PATCH] Use a more understandable name --- core/cfs/cfs-coffee.c | 2 +- core/cfs/cfs-coffee.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/cfs/cfs-coffee.c b/core/cfs/cfs-coffee.c index 29ca58f67..8872997ce 100644 --- a/core/cfs/cfs-coffee.c +++ b/core/cfs/cfs-coffee.c @@ -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) { diff --git a/core/cfs/cfs-coffee.h b/core/cfs/cfs-coffee.h index 1a999a5f8..4e2fb52d9 100644 --- a/core/cfs/cfs-coffee.h +++ b/core/cfs/cfs-coffee.h @@ -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