diff options
Diffstat (limited to 'cpukit/posix/src/sched.c')
-rw-r--r-- | cpukit/posix/src/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/sched.c b/cpukit/posix/src/sched.c index b04ee5ec1a..e558126926 100644 --- a/cpukit/posix/src/sched.c +++ b/cpukit/posix/src/sched.c @@ -129,7 +129,7 @@ int sched_rr_get_interval( * Only supported for the "calling process" (i.e. this node). */ - if ( pid == getpid() ) + if ( pid != getpid() ) set_errno_and_return_minus_one( ESRCH ); if ( !interval ) |