Output error message to STDERR_FILENO.

Approved by: re (bmah)
This commit is contained in:
davidxu 2007-08-07 04:50:14 +00:00
parent bc5f57144e
commit 52bd1282cd

View File

@ -72,7 +72,7 @@ TAILQ_HEAD(mutex_queue, pthread_mutex);
/* Output debug messages like this: */
#define stdout_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
#define stderr_debug(args...) _thread_printf(STDOUT_FILENO, ##args)
#define stderr_debug(args...) _thread_printf(STDERR_FILENO, ##args)
#ifdef _PTHREADS_INVARIANTS
#define THR_ASSERT(cond, msg) do { \