Log goes to stderr instead of stdout

SVN revision: 54626
This commit is contained in:
Lucas De Marchi 2010-11-17 10:35:25 +00:00
parent 0c0b0445b0
commit d3b985e259
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
#define DEBUGON 1
#if DEBUGON
#define cnp_debug(x...) printf(__FILE__": " x)
#define cnp_debug(x...) fprintf(stderr, __FILE__": " x)
#else
#define cnp_debug(x...)
#endif