Merge "Assume glibc >= 2.15."

This commit is contained in:
Elliott Hughes
2014-11-13 18:11:00 +00:00
committed by Gerrit Code Review
3 changed files with 2 additions and 58 deletions

View File

@@ -61,7 +61,7 @@ int pthread_setname_np(pthread_t t, const char* thread_name) {
{
pthread_accessor thread(t);
if (thread.get() == NULL) {
return ESRCH;
return ENOENT;
}
tid = thread->tid;
}