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:
Joel Sherrill
2009-01-29 16:13:17 +00:00
parent 1813d94c7a
commit 16bb8afbb1
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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)