From 141e4b353e0b1a461a6187adbf2c4e3227c508b4 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 3 Aug 2003 20:53:54 +0000 Subject: 2003-08-03 Marco Gerards * inode.c (read_node): Fix typo. --- fatfs/ChangeLog | 4 ++++ fatfs/inode.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'fatfs') diff --git a/fatfs/ChangeLog b/fatfs/ChangeLog index 91d0642a..09e85fcb 100644 --- a/fatfs/ChangeLog +++ b/fatfs/ChangeLog @@ -1,3 +1,7 @@ +2003-08-03 Marco Gerards + + * inode.c (read_node): Fix typo. + 2003-08-01 Marco Gerards * node-create.c: New file. diff --git a/fatfs/inode.c b/fatfs/inode.c index b341f188..f8780eb5 100644 --- a/fatfs/inode.c +++ b/fatfs/inode.c @@ -329,8 +329,8 @@ read_node (struct node *np, vm_address_t buf) st->st_mode = S_IFDIR | 0777; /* When we read in the node the first time, diskfs_root_node is zero. */ - if ((diskfs_root_node == 0 || np == diskfs_root_node) && - (fat_type = FAT12 || fat_type == FAT16)) + if ((diskfs_root_node == 0 || np == diskfs_root_node) + && (fat_type == FAT12 || fat_type == FAT16)) { st->st_size = read_dword (dr->file_size); np->allocsize = nr_of_root_dir_sectors << log2_bytes_per_sector; -- cgit v1.2.3