diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-29 16:13:17 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-29 16:13:17 +0000 |
commit | 16bb8afbb16e4f4d85cef8411d88439c7e866d8c (patch) | |
tree | 2cbcc0f8dd3948eacb56de8ce718da27aed920af /cpukit | |
parent | 2009-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-16bb8afbb16e4f4d85cef8411d88439c7e866d8c.tar.bz2 |
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.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/dosfs/fat.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 7445fdb90f..9462e27274 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -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 diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h index 4272437ab9..83505922cc 100644 --- a/cpukit/libfs/src/dosfs/fat.h +++ b/cpukit/libfs/src/dosfs/fat.h @@ -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) |