From 52bd1282cd2a3838c1533a3d8db458470c53cde0 Mon Sep 17 00:00:00 2001 From: davidxu Date: Tue, 7 Aug 2007 04:50:14 +0000 Subject: Output error message to STDERR_FILENO. Approved by: re (bmah) --- lib/libthr/thread/thr_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libthr') diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index eb2632d..ab64bf7 100644 --- a/lib/libthr/thread/thr_private.h +++ b/lib/libthr/thread/thr_private.h @@ -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 { \ -- cgit v1.1