Commit 161deaa8 authored by Mikio Hara's avatar Mikio Hara Committed by Russ Cox

runtime/cgo: fix build

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/4629082
parent cf143e9d
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment