diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-02 15:24:45 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-02 15:24:45 +0000 |
commit | ad8dea13f05b51769c9bef7e414f654588971c10 (patch) | |
tree | cd88f95ea1df92b12a21f7eedef9732ebe06e745 /winsup/cygwin/include/sys/strace.h | |
parent | a5a965ff62d95b01858f24d8e89c1dc39bbfb298 (diff) | |
download | cygnal-ad8dea13f05b51769c9bef7e414f654588971c10.tar.gz cygnal-ad8dea13f05b51769c9bef7e414f654588971c10.tar.bz2 cygnal-ad8dea13f05b51769c9bef7e414f654588971c10.zip |
* include/sys/strace.h: Fix strace definition.
Diffstat (limited to 'winsup/cygwin/include/sys/strace.h')
-rw-r--r-- | winsup/cygwin/include/sys/strace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/include/sys/strace.h b/winsup/cygwin/include/sys/strace.h index 43aa21c82..6a4408a01 100644 --- a/winsup/cygwin/include/sys/strace.h +++ b/winsup/cygwin/include/sys/strace.h @@ -73,13 +73,13 @@ extern "C" void small_printf (const char *, ...); #define define_strace0(c,...) \ do { \ - if (c & _STRACE_SYSTEM || strace.active) \ + if ((c & _STRACE_SYSTEM) || strace.active) \ strace.prntf (c, "%F: " __VA_ARGS__); \ } \ while (0) #define define_strace(c, ...) define_strace0 (_STRACE_ ## c, __VA_ARGS__) -#define define_strace1(c, ...) define_strace0 (_STRACE_ ## c | _STRACE_NOTALL, __VA_ARGS__) +#define define_strace1(c, ...) define_strace0 ((_STRACE_ ## c | _STRACE_NOTALL), __VA_ARGS__) #define debug_printf(...) define_strace (DEBUG, __VA_ARGS__) #define paranoid_printf(...) define_strace (PARANOID, __VA_ARGS__) |