summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2007-08-07 04:50:14 +0000
committerdavidxu <davidxu@FreeBSD.org>2007-08-07 04:50:14 +0000
commit52bd1282cd2a3838c1533a3d8db458470c53cde0 (patch)
tree5d48bc62839e89c76bf7672467714830b884af9a /lib/libthr
parentbc5f57144e97b8336002b57d7c7e60a86ba3b0d4 (diff)
downloadFreeBSD-src-52bd1282cd2a3838c1533a3d8db458470c53cde0.zip
FreeBSD-src-52bd1282cd2a3838c1533a3d8db458470c53cde0.tar.gz
Output error message to STDERR_FILENO.
Approved by: re (bmah)
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_private.h2
1 files changed, 1 insertions, 1 deletions
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 { \
OpenPOWER on IntegriCloud