summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_gc.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-04-20 02:56:12 +0000
committermarcel <marcel@FreeBSD.org>2003-04-20 02:56:12 +0000
commit994500f60f57c0056b451684eb45b9b50657d611 (patch)
tree95584ea12d3809f60aac928444adea9596d4070e /lib/libthr/thread/thr_gc.c
parent6090151f12c8e22f86ebd5f7730f05eb236aa4ed (diff)
downloadFreeBSD-src-994500f60f57c0056b451684eb45b9b50657d611.zip
FreeBSD-src-994500f60f57c0056b451684eb45b9b50657d611.tar.gz
Fix build breakage (on ia64) caused by a missing file descriptor to
_thread_printf(). Use STDERR_FILENO as the file descriptor.
Diffstat (limited to 'lib/libthr/thread/thr_gc.c')
-rw-r--r--lib/libthr/thread/thr_gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_gc.c b/lib/libthr/thread/thr_gc.c
index a33acce..e62c50b 100644
--- a/lib/libthr/thread/thr_gc.c
+++ b/lib/libthr/thread/thr_gc.c
@@ -178,7 +178,7 @@ _thread_gc(pthread_addr_t arg)
*/
if ((ret = pthread_cond_timedwait(&_gc_cond,
&_gc_mutex, &abstime)) != 0 && ret != ETIMEDOUT) {
- _thread_printf("ret = %d", ret);
+ _thread_printf(STDERR_FILENO, "ret = %d", ret);
PANIC("gc cannot wait for a signal");
}
}
OpenPOWER on IntegriCloud