diff options
author | David Xu <davidxu@FreeBSD.org> | 2007-08-07 04:50:14 +0000 |
---|---|---|
committer | David Xu <davidxu@FreeBSD.org> | 2007-08-07 04:50:14 +0000 |
commit | 4aa80591b6845626958f1ebdb7f05ac255c427e6 (patch) | |
tree | 5d48bc62839e89c76bf7672467714830b884af9a /lib | |
parent | e3117f852edf712212467d0f43fe3e6607421fc2 (diff) | |
download | src-4aa80591b6845626958f1ebdb7f05ac255c427e6.tar.gz src-4aa80591b6845626958f1ebdb7f05ac255c427e6.zip |
Output error message to STDERR_FILENO.
Approved by: re (bmah)
Notes
Notes:
svn path=/head/; revision=171763
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/thread/thr_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_private.h b/lib/libthr/thread/thr_private.h index eb2632d9e9f8..ab64bf7a6c79 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 { \ |