projects
/
platform
/
upstream
/
mtools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cd622
)
fat bits
author
Anas Nashif
<anas.nashif@intel.com>
Mon, 5 Nov 2012 19:27:36 +0000
(11:27 -0800)
committer
Anas Nashif
<anas.nashif@intel.com>
Mon, 5 Nov 2012 19:27:36 +0000
(11:27 -0800)
fat.c
patch
|
blob
|
history
diff --git
a/fat.c
b/fat.c
index
f6d732e
..
dba7dac
100644
(file)
--- a/
fat.c
+++ b/
fat.c
@@
-722,7
+722,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
|| config_fat_bits == 16
) {
set_fat16(This);
/* third FAT byte must be 0xff */
if(!mtools_skip_check && readByte(This, 3) != 0xff)