diff options
Diffstat (limited to 'pthread_getschedparam.c')
-rw-r--r-- | pthread_getschedparam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_getschedparam.c b/pthread_getschedparam.c index e796a88..081bfe3 100644 --- a/pthread_getschedparam.c +++ b/pthread_getschedparam.c @@ -47,7 +47,7 @@ pthread_getschedparam(pthread_t thread, int *policy, /* Validate the thread id. */ if (thread == NULL || thread->threadH == 0) { - return EINVAL; + return ESRCH; } /* |