diff options
author | Charles Manning <cdhmanning@gmail.com> | 2011-01-07 14:26:01 +1300 |
---|---|---|
committer | Charles Manning <cdhmanning@gmail.com> | 2011-01-07 14:26:01 +1300 |
commit | a8e8fa708152c823e534b7b004bfbd121dd1670e (patch) | |
tree | 306c157c13e35e1e1d8385cdde9be83c67955b6a /direct | |
parent | ae68942c23ba444fc820519ac25865ab38edc3c5 (diff) |
yaffs direct: Fix trace ALWAYS issue
Trace ALWAYS was done wrong in the macro. Just make it another bitmap.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Diffstat (limited to 'direct')
-rw-r--r-- | direct/ydirectenv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index 63cd6d8..7063fa6 100644 --- a/direct/ydirectenv.h +++ b/direct/ydirectenv.h @@ -61,7 +61,7 @@ void yaffs_qsort(void *aa, size_t n, size_t es, #define cond_resched() do {} while(0) #define yaffs_trace(msk, fmt, ...) do { \ - if(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS)) \ + if(yaffs_trace_mask & (msk)) \ printf("yaffs: " fmt "\n", ##__VA_ARGS__); \ } while(0) |