summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/fat.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-29 16:12:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-29 16:12:44 +0000
commitee0f1e6b852ffbf7292ad0dc4e19751ef1d1d9db (patch)
tree577dbd3ebde6a9fab0469fcc67dcf2d4743ead3a /cpukit/libfs/src/dosfs/fat.h
parent2009-01-29 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-ee0f1e6b852ffbf7292ad0dc4e19751ef1d1d9db.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/libfs/src/dosfs/fat.h')
-rw-r--r--cpukit/libfs/src/dosfs/fat.h2
1 files changed, 1 insertions, 1 deletions
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)