Changeset c9b28ef in rtems


Ignore:
Timestamp:
Jan 29, 2009, 4:13:26 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
b7a08ad
Parents:
065639c0
Message:

2009-01-29 Gene Smith <gene.smith@…>

PR 1363/filesystem

  • libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written correctly in FAT f/s data.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r065639c0 rc9b28ef  
     12009-01-29      Gene Smith <gene.smith@siemens.com>
     2
     3        PR 1363/filesystem
     4        * libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
     5        correctly in FAT f/s data.
     6
    172009-01-29      Eric Norum <norume@aps.anl.gov>
    28
  • cpukit/libfs/src/dosfs/fat.h

    r065639c0 rc9b28ef  
    131131#define FAT_SET_VAL32(x, ofs,val) do {               \
    132132                 uint32_t val1 = val;                \
    133                  FAT_SET_VAL16((x),(ofs),(val1)&&0xffff);\
     133                 FAT_SET_VAL16((x),(ofs),(val1)&0xffff);\
    134134                 FAT_SET_VAL16((x),(ofs)+2,(val1)>>16);\
    135135                 } while (0)
Note: See TracChangeset for help on using the changeset viewer.