diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_mutexattr_setkind_np.c')
-rw-r--r-- | mdk-stage1/dietlibc/libpthread/pthread_mutexattr_setkind_np.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_mutexattr_setkind_np.c b/mdk-stage1/dietlibc/libpthread/pthread_mutexattr_setkind_np.c index ac600f8ed..8b110fe5a 100644 --- a/mdk-stage1/dietlibc/libpthread/pthread_mutexattr_setkind_np.c +++ b/mdk-stage1/dietlibc/libpthread/pthread_mutexattr_setkind_np.c @@ -13,6 +13,5 @@ int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind) attr->__mutexkind=kind; return 0; } - (*(__errno_location()))=EINVAL; - return -1; + return EINVAL; } |