summaryrefslogtreecommitdiff
path: root/fatfs/fatfs.h
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@gnu.org>2003-07-29 14:58:44 +0000
committerJeff Bailey <jbailey@gnu.org>2003-07-29 14:58:44 +0000
commitb98c068403ff07483262e8eac917fef6cab8b14a (patch)
treea85c54d94490fa5c8dfa904f74edbcfd4bc47ffc /fatfs/fatfs.h
parent1abf876167e669d08e00c6376b8f8ac5e21a0f15 (diff)
Note to self. Be *awake* when committing patches
Diffstat (limited to 'fatfs/fatfs.h')
-rw-r--r--fatfs/fatfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatfs/fatfs.h b/fatfs/fatfs.h
index 167ad583..943ccad3 100644
--- a/fatfs/fatfs.h
+++ b/fatfs/fatfs.h
@@ -96,14 +96,14 @@ extern struct dirrect dr_root_node;
#define LOG2_BLOCKS_PER_CLUSTER \
- (log2_bytes_per_cluster - store->logs2_block_size)
+ (log2_bytes_per_cluster - store->log2_block_size)
#define round_cluster(offs) \
((((offs) + bytes_per_cluster - 1) \
>> log2_bytes_per_cluster) << log2_bytes_per_cluster)
#define FAT_FIRST_CLUSTER_BLOCK(cluster) \
- (((cluster - 2) << LOG2_BLOCKS_PER_CLUSTER) +
+ (((cluster - 2) << LOG2_BLOCKS_PER_CLUSTER) + \
(first_data_byte >> store->log2_block_size))
void drop_pager_softrefs (struct node *);