mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-01-29 Gene Smith <gene.smith@siemens.com>
PR 1363/filesystem * libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written correctly in FAT f/s data.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-01-29 Gene Smith <gene.smith@siemens.com>
|
||||
|
||||
PR 1363/filesystem
|
||||
* libfs/src/dosfs/fat.h: Fix issue where 32 bit values are not written
|
||||
correctly in FAT f/s data.
|
||||
|
||||
2009-01-29 Eric Norum <norume@aps.anl.gov>
|
||||
|
||||
PR 1364/cpukit
|
||||
|
||||
@@ -125,7 +125,7 @@ extern "C" {
|
||||
|
||||
#define FAT_SET_VAL32(x, ofs,val) do { \
|
||||
uint32_t val1 = val; \
|
||||
FAT_SET_VAL16((x),(ofs),(val1)&&0xffff);\
|
||||
FAT_SET_VAL16((x),(ofs),(val1)&0xffff);\
|
||||
FAT_SET_VAL16((x),(ofs)+2,(val1)>>16);\
|
||||
} while (0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user