diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-05 11:27:36 -0800 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-05 16:29:38 +0100 |
commit | d85958f8ab53f637930129e510a68ba594e6b5b8 (patch) | |
tree | 7a1c71795df442e50a4e502aac9957bb62a18b6f | |
parent | 592187b22eb39d1ac12833c8d3cd48413fce3c50 (diff) | |
download | mtools-d85958f8ab53f637930129e510a68ba594e6b5b8.tar.gz mtools-d85958f8ab53f637930129e510a68ba594e6b5b8.tar.bz2 mtools-d85958f8ab53f637930129e510a68ba594e6b5b8.zip |
fat bits
[kevin.thierry: update fix for version 4.0.18]
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r-- | fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -719,7 +719,7 @@ static int old_fat_read(Fs_t *This, union bootsector *boot, if(check_media_type(This,boot, tot_sectors)) return -1; - if(This->num_clus >= FAT12) { + if(This->num_clus >= FAT12 || This->fat_bits == 16) { set_fat16(This); /* third FAT byte must be 0xff */ if(!mtools_skip_check && readByte(This, 3) != 0xff) |