[Midnightbsd-cvs] src: thr_private.h: threads should write to stderr when they have error

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Sep 11 12:39:00 EDT 2007


Log Message:
-----------
threads should write to stderr when they have error messages.

Modified Files:
--------------
    src/lib/libpthread/thread:
        thr_private.h (r1.2 -> r1.3)

-------------- next part --------------
Index: thr_private.h
===================================================================
RCS file: /home/cvs/src/lib/libpthread/thread/thr_private.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -Llib/libpthread/thread/thr_private.h -Llib/libpthread/thread/thr_private.h -u -r1.2 -r1.3
--- lib/libpthread/thread/thr_private.h
+++ lib/libpthread/thread/thr_private.h
@@ -78,7 +78,7 @@
 
 /* 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)
 
 #define	DBG_MUTEX	0x0001
 #define	DBG_SIG		0x0002


More information about the Midnightbsd-cvs mailing list