summaryrefslogtreecommitdiff
path: root/components/pthreads/pthread.c
diff options
context:
space:
mode:
authorbernard <[email protected]>2014-03-11 16:05:14 +0800
committerbernard <[email protected]>2014-03-11 16:05:14 +0800
commit09bb7393b2f8265e281da785925f89b4964f1be7 (patch)
treee7f8a30c39900cd4b1d6d6ce64a09319ad22698a /components/pthreads/pthread.c
parent33a5abbbf85683297a1efdc290786ffe455a3b5d (diff)
[Pthreads] fix compiling warning
Diffstat (limited to 'components/pthreads/pthread.c')
-rw-r--r--components/pthreads/pthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pthreads/pthread.c b/components/pthreads/pthread.c
index a823253d48..41432f760f 100644
--- a/components/pthreads/pthread.c
+++ b/components/pthreads/pthread.c
@@ -347,13 +347,13 @@ RTM_EXPORT(pthread_once);
int pthread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void))
{
- return ENOTSUP;
+ return EOPNOTSUPP;
}
RTM_EXPORT(pthread_atfork);
int pthread_kill(pthread_t thread, int sig)
{
- return ENOTSUP;
+ return EOPNOTSUPP;
}
RTM_EXPORT(pthread_kill);