]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: revert use of undefined logging function
authorDavid Crawshaw <david.crawshaw@zentus.com>
Thu, 3 Jul 2014 20:52:34 +0000 (16:52 -0400)
committerDavid Crawshaw <david.crawshaw@zentus.com>
Thu, 3 Jul 2014 20:52:34 +0000 (16:52 -0400)
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

index a746ca5f5aec8c87f05c0938484c10a5d78a8dcb..95c8e16a25453326cd197ec3329b53cfa1b49ef5 100644 (file)
@@ -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();
        }
 }