diff options
Diffstat (limited to 'lib/libc_r/uthread/uthread_shutdown.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_shutdown.c b/lib/libc_r/uthread/uthread_shutdown.c index b2e7eac..5e06910 100644 --- a/lib/libc_r/uthread/uthread_shutdown.c +++ b/lib/libc_r/uthread/uthread_shutdown.c @@ -62,7 +62,7 @@ shutdown(int fd, int how) } break; default: - _thread_seterrno(_thread_run, EBADF); + errno = EBADF; ret = -1; break; } |