diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-27 15:19:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-08-27 15:19:51 +0000 |
commit | b5c04b68e5dc7ad84bdab3f2a10013cc7385af5b (patch) | |
tree | 5646a1bc09279744972fa0550d3bcd4962dd6361 | |
parent | check that we were passed a valid mutex and ignore errors from the (diff) | |
download | rtems-b5c04b68e5dc7ad84bdab3f2a10013cc7385af5b.tar.bz2 |
fixed typo .. changed == to !=
-rw-r--r-- | c/src/exec/posix/src/sched.c | 2 | ||||
-rw-r--r-- | cpukit/posix/src/sched.c | 2 |
2 files changed, 2 insertions, 2 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 ) 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 ) |