X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fydirectenv.h;h=b477343d683f52f8f2d710603321c7feaa4426ec;hb=5101bff53a59d4cd54da0b4cde0cc32208b22d64;hp=332c10eaf5d721fcf05a9bd5a4b5c65876f7e7b2;hpb=da59bf8d6a7fe444626da887e4096f411c66d4ca;p=yaffs2.git diff --git a/direct/ydirectenv.h b/direct/ydirectenv.h index 332c10e..b477343 100644 --- a/direct/ydirectenv.h +++ b/direct/ydirectenv.h @@ -74,13 +74,13 @@ size_t strnlen(const char *s, size_t maxlen); #define cond_resched() do {} while (0) #ifdef CONFIG_YAFFS_NO_TRACE +#define yaffs_trace(...) do { } while (0) +#else #define yaffs_trace(msk, fmt, ...) do { \ if (yaffs_trace_mask & (msk)) \ printf("yaffs: " fmt "\n", ##__VA_ARGS__); \ } while (0) -#else -#define yaffs_trace(...) do { } while (0) #endif #define YAFFS_LOSTNFOUND_NAME "lost+found"