diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_setcanceltype.c')
-rw-r--r-- | mdk-stage1/dietlibc/libpthread/pthread_setcanceltype.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_setcanceltype.c b/mdk-stage1/dietlibc/libpthread/pthread_setcanceltype.c index 03d1f53de..f5669b70d 100644 --- a/mdk-stage1/dietlibc/libpthread/pthread_setcanceltype.c +++ b/mdk-stage1/dietlibc/libpthread/pthread_setcanceltype.c @@ -20,6 +20,5 @@ int pthread_setcanceltype(int type, int *oldtype) return 0; } - (*(__errno_location()))=EINVAL; - return -1; + return EINVAL; } |