diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_setspecific.c')
-rw-r--r-- | mdk-stage1/dietlibc/libpthread/pthread_setspecific.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_setspecific.c b/mdk-stage1/dietlibc/libpthread/pthread_setspecific.c index 78339c20b..b66ce31d0 100644 --- a/mdk-stage1/dietlibc/libpthread/pthread_setspecific.c +++ b/mdk-stage1/dietlibc/libpthread/pthread_setspecific.c @@ -15,7 +15,6 @@ int pthread_setspecific(pthread_key_t key, const void *value) __thread_keys[key].tkd[id]=value; return 0; } - (*__errno_location())=EINVAL; - return -1; + return EINVAL; } |