diff options
Diffstat (limited to 'cpukit')
-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 e558126926..30c58ca8a5 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 && pid != getpid() ) set_errno_and_return_minus_one( ESRCH ); if ( !interval ) |