diff options
author | marcel <marcel@FreeBSD.org> | 2003-04-20 02:56:12 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-04-20 02:56:12 +0000 |
commit | 994500f60f57c0056b451684eb45b9b50657d611 (patch) | |
tree | 95584ea12d3809f60aac928444adea9596d4070e /lib/libthr/thread/thr_create.c | |
parent | 6090151f12c8e22f86ebd5f7730f05eb236aa4ed (diff) | |
download | FreeBSD-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_create.c')
-rw-r--r-- | lib/libthr/thread/thr_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_create.c b/lib/libthr/thread/thr_create.c index 3ad7dc0..d2ef538 100644 --- a/lib/libthr/thread/thr_create.c +++ b/lib/libthr/thread/thr_create.c @@ -187,7 +187,7 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr, ret = thr_create(&new_thread->ctx, &new_thread->thr_id, flags); if (ret != 0) { - _thread_printf("thr_create() == %d\n", ret); + _thread_printf(STDERR_FILENO, "thr_create() == %d\n", ret); PANIC("thr_create"); } |