From ff90a778b865a69b1e856224d127a365e2d1bd18 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 29 Jan 2009 16:13:45 +0000 Subject: 2009-01-29 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. --- cpukit/ChangeLog | 6 ++++++ cpukit/libfs/src/dosfs/fat.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4982ad3f26..a7f96c50b0 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2009-01-29 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. + 2009-01-29 Eric Norum PR 1364/cpukit diff --git a/cpukit/libfs/src/dosfs/fat.h b/cpukit/libfs/src/dosfs/fat.h index 3a951b114e..bb7618327f 100644 --- a/cpukit/libfs/src/dosfs/fat.h +++ b/cpukit/libfs/src/dosfs/fat.h @@ -130,7 +130,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) -- cgit v1.2.3