summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/sched.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-27 15:19:51 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-08-27 15:19:51 +0000
commitb5c04b68e5dc7ad84bdab3f2a10013cc7385af5b (patch)
tree5646a1bc09279744972fa0550d3bcd4962dd6361 /c/src/exec/posix/src/sched.c
parentcheck that we were passed a valid mutex and ignore errors from the (diff)
downloadrtems-b5c04b68e5dc7ad84bdab3f2a10013cc7385af5b.tar.bz2
fixed typo .. changed == to !=
Diffstat (limited to 'c/src/exec/posix/src/sched.c')
-rw-r--r--c/src/exec/posix/src/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/posix/src/sched.c b/c/src/exec/posix/src/sched.c
index b04ee5ec1a..e558126926 100644
--- a/c/src/exec/posix/src/sched.c
+++ b/c/src/exec/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 )