Changes in uspace/srv/fs/fat/fat_fat.c [3f93cdbe:7efc517] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.c
r3f93cdbe r7efc517 361 361 uint16_t rscnt; 362 362 uint16_t sf; 363 uint 32_t ts;363 uint16_t ts; 364 364 unsigned rde; 365 365 unsigned rds; … … 379 379 sf = uint16_t_le2host(bs->sec_per_fat); 380 380 rde = uint16_t_le2host(bs->root_ent_max); 381 ts = (uint32_t) uint16_t_le2host(bs->totsec16); 382 if (ts == 0) 383 ts = uint32_t_le2host(bs->totsec32); 381 ts = uint16_t_le2host(bs->totsec16); 384 382 385 383 rds = (sizeof(fat_dentry_t) * rde) / bps;
Note:
See TracChangeset
for help on using the changeset viewer.