From: Mikio Hara Date: Wed, 29 Jun 2011 02:26:31 +0000 (-0400) Subject: runtime/cgo: fix build X-Git-Tag: weekly.2011-07-07~88 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=161deaa85c4ed97f16fe3905d6de5ad3be24b13a;p=gostls13.git runtime/cgo: fix build R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4629082 --- diff --git a/src/pkg/runtime/cgo/darwin_386.c b/src/pkg/runtime/cgo/darwin_386.c index 21c1365759..6d4e259be0 100644 --- a/src/pkg/runtime/cgo/darwin_386.c +++ b/src/pkg/runtime/cgo/darwin_386.c @@ -120,7 +120,7 @@ libcgo_sys_thread_start(ThreadStart *ts) ts->g->stackguard = size; err = pthread_create(&p, &attr, threadentry, ts); if (err != 0) { - fprintf(stderr, "runtime/cgo: pthread_create failed: %s\n", strerror(error)); + fprintf(stderr, "runtime/cgo: pthread_create failed: %s\n", strerror(err)); abort(); } }