From: David Crawshaw Date: Thu, 3 Jul 2014 20:52:34 +0000 (-0400) Subject: runtime/cgo: revert use of undefined logging function X-Git-Tag: go1.4beta1~1166 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b2c75ae2be56f23fc6518f6d24a3fb95496f1e5f;p=gostls13.git 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 --- 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(); } }