summaryrefslogtreecommitdiff
path: root/fatfs/fatfs.h
diff options
context:
space:
mode:
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 *);