diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-04-20 02:56:12 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-04-20 02:56:12 +0000 |
commit | e7c9b7517bc91775d23ad7e2840f480494890e4d (patch) | |
tree | 95584ea12d3809f60aac928444adea9596d4070e /lib/libthr/thread/thr_create.c | |
parent | 8c0d4b5f924e234b6742a3f12e4460c9b1c61fa2 (diff) | |
download | src-e7c9b7517bc91775d23ad7e2840f480494890e4d.tar.gz src-e7c9b7517bc91775d23ad7e2840f480494890e4d.zip |
Fix build breakage (on ia64) caused by a missing file descriptor to
_thread_printf(). Use STDERR_FILENO as the file descriptor.
Notes
Notes:
svn path=/head/; revision=113731
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 3ad7dc0cdff3..d2ef53808042 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"); } |