summaryrefslogtreecommitdiff
path: root/fatfs
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
parent1abf876167e669d08e00c6376b8f8ac5e21a0f15 (diff)
Note to self. Be *awake* when committing patches
Diffstat (limited to 'fatfs')
-rw-r--r--fatfs/fat.c2
-rw-r--r--fatfs/fatfs.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/fatfs/fat.c b/fatfs/fat.c
index 4eb4b063..f2f67aa6 100644
--- a/fatfs/fat.c
+++ b/fatfs/fat.c
@@ -151,7 +151,7 @@ fat_read_sblock (void)
error (1, 0, "Number of total sectors is zero");
if (bytes_per_sector & (store->block_size - 1))
- error (1, 0, "Block size of filesystem is not
+ error (1, 0, "Block size of filesystem is not"
" a multiple of the block size of the store");
if (read_word (sblock->reserved_sectors) == 0)
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 *);