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