From b2c75ae2be56f23fc6518f6d24a3fb95496f1e5f Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Thu, 3 Jul 2014 16:52:34 -0400 Subject: [PATCH] runtime/cgo: revert use of undefined logging function It snuck into cl/106380043. Too many active clients. LGTM=ruiu R=golang-codereviews, ruiu CC=golang-codereviews https://golang.org/cl/110830045 --- src/pkg/runtime/cgo/gcc_linux_arm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pkg/runtime/cgo/gcc_linux_arm.c b/src/pkg/runtime/cgo/gcc_linux_arm.c index a746ca5f5a..95c8e16a25 100644 --- a/src/pkg/runtime/cgo/gcc_linux_arm.c +++ b/src/pkg/runtime/cgo/gcc_linux_arm.c @@ -36,7 +36,8 @@ _cgo_sys_thread_start(ThreadStart *ts) pthread_sigmask(SIG_SETMASK, &oset, nil); if (err != 0) { - fatalf("pthread_create failed: %s", strerror(err)); + fprintf(stderr, "runtime/cgo: pthread_create failed: %s\n", strerror(err)); + abort(); } } -- 2.48.1