mirror of
https://github.com/golang/go
synced 2024-11-21 18:04:40 -07:00
runtime/cgo: fix build
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4629082
This commit is contained in:
parent
cf143e9dbf
commit
161deaa85c
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user