Output error message to STDERR_FILENO.

Approved by: re (bmah)
This commit is contained in:
David Xu 2007-08-07 04:50:14 +00:00
parent e3117f852e
commit 4aa80591b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171763

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 { \